SpringMvc配置之<context:annotation-config />
当我们需要使用BeanPostProcessor时,直接在Spring配置文件中定义这些Bean显得比较笨拙,例如:
使用@Autowired注解,必须事先在Spring容器中声明AutowiredAnnotationBeanPostProcessor的Bean:
bean class="org.springframework.beans.factory.annotation.Auto
原创
2016-02-18 14:18:34 ·
1404 阅读 ·
0 评论