@Configuration@Bean

https://blog.csdn.net/u014199143/article/details/80692685

@Configuation等价于<Beans></Beans>

 @Bean等价于<Bean></Bean>

 @ComponentScan等价于<context:component-scan base-package=”com.dxz.demo”/>

posted @ 2019-10-22 10:22  sunseeker  阅读(209)  评论(0编辑  收藏  举报