摘要:
A constructor is a method that gets called immediately when an object is allocated (on the stack or the heap). It is the constructor’s job to initiali 阅读全文
摘要:
组装Java-based的配置 使用@Import注解 跟在Spring XML文件里使用<import>元素加入模块化的配置相似,@Import注解同意你载入其它配置类中的@Bean定义: @Configuration public class ConfigA { @Bean public A a 阅读全文