关于Spring中的<context:annotation-config/>配置(开启注解)
摘要:
当我们需要使用BeanPostProcessor时,直接在Spring配置文件中定义这些Bean显得比较笨拙,例如: 使用@Autowired注解,必须事先在Spring容器中声明AutowiredAnnotationBeanPostProcessor的Bean: 使用 @Required注解,就必 阅读全文
posted @ 2017-11-10 18:20 111-211 阅读(327) 评论(0) 推荐(0)
浙公网安备 33010602011771号