欢迎访问『www.cnblogs.com/blog-ice』

Spring boot 2.0.2.RELEASE

--deduceWebApplicationType--org.springframework.web.reactive.DispatcherHandler/org.springframework.web.servlet.DispatcherServlet

1.SpringApplication.run(String...args)

--1.1 StopWatch

--1.2 Config Headless

--1.3 SpringApplicationRunListeners

----1.3.1 loadSpringFactories() 

------"META-INF.spring.factories" classloader.getResources()/Classloader.getSystemResources()--------------------------map.getOrDefault(key, default), Collections.emptyList()

----1.3.2 createSpringFactoriesInstances()

------Class.forName().getDeclaredConstructor().newInstance()

--1.4 listeners.starting()

--1.5 this.prepareEnvironment()

--

posted on 2020-11-23 11:11  仙路尽头谁为峰  阅读(93)  评论(0编辑  收藏  举报
这里是自由发挥的天堂