摘要:
当我们需要使用BeanPostProcessor时,直接在Spring配置文件中定义这些Bean显得比较笨拙,例如: 使用@Autowired注解,必须事先在Spring容器中声明AutowiredAnnotationBeanPostProcessor的Bean:<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor "/> 使用 @Required注解,就必须声明RequiredAnnotationBeanPostProcess 阅读全文
posted @ 2012-07-19 13:01
Iuranus
阅读(86758)
评论(7)
推荐(16)