摘要: 原文地址:https://www.javacodegeeks.com/2015/04/spring-enable-annotation-writing-a-custom-enable-annotation.html Spring provides a range of annotations wit 阅读全文
posted @ 2017-01-03 17:45 一天不进步,就是退步 阅读(541) 评论(0) 推荐(0)
摘要: 1. @importSelector定义: 实现线索: 具体代码实现: 2、@Import和@ImportResource的实现如下: ConfigurationClassParser.java 3.三种方式: ConfigurationClassParser.java 阅读全文
posted @ 2017-01-03 17:21 一天不进步,就是退步 阅读(6203) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.fawnanddoug.com/2012/08/how-those-spring-enable-annotations-work.html Spring's Java Config is a great way to configure your applicati 阅读全文
posted @ 2017-01-03 16:13 一天不进步,就是退步 阅读(321) 评论(0) 推荐(0)