Spring Boot 2.1.6.RELEASE
SpringApplication.java
1 |
|
SpringApplication.java
1 |
|
prepareEnvironment
准备环境
1 |
|
ConfigFileApplicationListener
createApplicationContext
创建容器,不同类型的应用对应不同的ApplicationContext。
None:AnnotationConfigApplicationContext Servlet:AnnotationConfigServletWebServerApplicationContext Reactive:AnnotationConfigReactiveWebServerApplicationContext
prepareContext
准备容器
1 |
|
refreshContext
接下来的工作交给Spring,IOC和AOP等