摘要: 前言: 主要了解的内容有如下几点: @Qualifier与@Primary注解的使用 Spring中ApplicationContext的作用 BeanFactory与ApplicationContext区别 AnnotationConfigApplicationContext启动原理分析 假设 I 阅读全文
posted @ 2019-07-21 23:50 toov5 阅读(1177) 评论(0) 推荐(0)
摘要: 一些基础但是核心的知识总结: Spring Boot项目启动的时候需要加@Configuration、 @ComponentScan @Configuration + @Bean 把第三方jar包注入到容器中。 内部的直接 @Service @Controller等等之类配合 @ComponentS 阅读全文
posted @ 2019-07-21 23:25 toov5 阅读(480) 评论(0) 推荐(0)