springboot
文章平均质量分 57
分析springboot自动配置原理和启动原理
一梦无痕bzy
这个作者很懒,什么都没留下…
展开
-
springboot启动流程
通过getSpringFactoriesInstances(ApplicationContextInitializer.class)读取springboot下的META-INFO/spring.factories文件,获取对应的ApplicationContextInitializer装配到集合。1、StopWatch stopWatch = new StopWatch(),stopWatch.start():记录项目启动时间。3、listeners.starting():循环调用starting方法。原创 2022-12-02 18:36:41 · 437 阅读 · 0 评论 -
SpringBoot自动配置原理简介
详情见:https://blog.csdn.net/qq_43631716/article/details/121132749原创 2022-11-29 17:50:51 · 159 阅读 · 0 评论