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()
--
相互学习,共同进步!