![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
木墩儿
这个作者很懒,什么都没留下…
展开
-
springboot分析
入口@springbootapplication@Target({ElementType.TYPE})@Retention(RetentionPolicy.RUNTIME)@Documented@Inherited@SpringBootConfiguration@EnableAutoConfiguration@ComponentScan( excludeFilters = {@Filter( type = FilterType.CUSTOM, classes = {T原创 2020-10-05 10:19:15 · 163 阅读 · 0 评论 -
spring相关知识
IOCspring读取配置或注解的过程1:先通过扫描指定包路径下的spring注解,比如@Component、@Service、@Lazy @Sope等spring识别的注解或者是xml配置的属性(通过读取流,解析成Document,Document)然后spring会解析这些属性,将这些属性封装到BeanDefintaion这个接口的实现类中.在springboot中,我们也可以采用注解配...原创 2020-04-10 19:01:21 · 223 阅读 · 0 评论