摘要: 一、自动化装配 @Component注解:申明spirng的bean的组件。 @ComponentScan注解:启用组件扫描,相当于xml中的<context:component-scan> @Configuration注解:相当于xml中<beans></beans> @Import注解:引入配置 阅读全文
posted @ 2019-09-04 17:22 每天进步一点点_hejj 阅读(132) 评论(0) 推荐(0) 编辑