原创 Spring中的配置

  當我們需要使用BeanPostProcessor時,直接在Spring配置文件中定義這些Bean顯得比較笨拙,例如:  使用@Autowired註解,必須事先在Spring容器中聲明AutowiredAnnotationBeanPos