一图搞懂 SpringBoot 启动流程(清晰明了):
createWebServer (ServletWebApplicationContext)流程
finishBeanFactoryInitialization(ServletWebApplicationContext)Bean装配流程
真正干活的: preInstantiateSingletons
通过日志观察启动执行顺序
MyAppListener starting===: 1
MyAppListener environmentPrepared===: 2
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.3.5)
MyAppListener contextPrepared===: 3
2024-11-08T16:08:38.927+08:00 INFO 8584 --- [ main] xxx.lq.boot.BootSampleApp : Starting BootSampleApp using Java 17.0.5 with PID 8584 (H:\xxxJava\spring-boot-3.3.5\spring-boot\DemoBoot\build\classes\java\main started by xxx in H:\xxxJava\spring-boot-3.3.5\spring-boot)
2024-11-08T16:08:38.939+08:00 INFO 8584 --- [ main] xxx.lq.boot.BootSampleApp : No active profile set, falling back to 1 default profile: "default"
MyAppListener contextLoaded===: 4
2024-11-08T16:08:40.129+08:00 WARN 8584 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [annotationActionEndpointMapping] is declared through a non-static factory method on that class; consider declaring it as static instead.
2024-11-08T16:08:40.175+08:00 INFO 8584 --- [ main] .w.s.a.s.AnnotationActionEndpointMapping : Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
MyBeanProcessor afterPropertiesSet========5
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat===count:1
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat===count:1
MyBeanProcessor postProcessBeforeInitialization========, bean name: tomcatServletWebServerFactory===count:2
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.websocket.servlet.WebSocketServletAutoConfiguration$TomcatWebSocketConfiguration===count:3
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.websocket.servlet.WebSocketServletAutoConfiguration$TomcatWebSocketConfiguration===count:3
MyBeanProcessor postProcessBeforeInitialization========, bean name: websocketServletWebServerCustomizer===count:4
MyBeanProcessor postProcessAfterInitialization========, bean name: websocketServletWebServerCustomizer===count:4
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration===count:5
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration===count:5
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.context.properties.BoundConfigurationProperties===count:6
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.context.properties.BoundConfigurationProperties===count:6
MyBeanProcessor postProcessBeforeInitialization========, bean name: server-org.springframework.boot.autoconfigure.web.ServerProperties===count:7
MyBeanProcessor postProcessAfterInitialization========, bean name: server-org.springframework.boot.autoconfigure.web.ServerProperties===count:7
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.ssl-org.springframework.boot.autoconfigure.ssl.SslProperties===count:8
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.ssl-org.springframework.boot.autoconfigure.ssl.SslProperties===count:8
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.ssl.SslAutoConfiguration===count:9
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.ssl.SslAutoConfiguration===count:9
MyBeanProcessor postProcessBeforeInitialization========, bean name: fileWatcher===count:10
MyBeanProcessor postProcessAfterInitialization========, bean name: fileWatcher===count:10
MyBeanProcessor postProcessBeforeInitialization========, bean name: sslPropertiesSslBundleRegistrar===count:11
MyBeanProcessor postProcessAfterInitialization========, bean name: sslPropertiesSslBundleRegistrar===count:11
MyBeanProcessor postProcessBeforeInitialization========, bean name: sslBundleRegistry===count:12
MyBeanProcessor postProcessAfterInitialization========, bean name: sslBundleRegistry===count:12
MyBeanProcessor postProcessBeforeInitialization========, bean name: servletWebServerFactoryCustomizer===count:13
MyBeanProcessor postProcessAfterInitialization========, bean name: servletWebServerFactoryCustomizer===count:13
MyBeanProcessor postProcessBeforeInitialization========, bean name: tomcatServletWebServerFactoryCustomizer===count:14
MyBeanProcessor postProcessAfterInitialization========, bean name: tomcatServletWebServerFactoryCustomizer===count:14
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration$TomcatWebServerFactoryCustomizerConfiguration===count:15
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration$TomcatWebServerFactoryCustomizerConfiguration===count:15
MyBeanProcessor postProcessBeforeInitialization========, bean name: tomcatWebServerFactoryCustomizer===count:16
MyBeanProcessor postProcessAfterInitialization========, bean name: tomcatWebServerFactoryCustomizer===count:16
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration===count:17
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration===count:17
MyBeanProcessor postProcessBeforeInitialization========, bean name: localeCharsetMappingsCustomizer===count:18
MyBeanProcessor postProcessAfterInitialization========, bean name: localeCharsetMappingsCustomizer===count:18
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration===count:19
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration===count:19
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration===count:20
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration===count:20
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletConfiguration===count:21
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletConfiguration===count:21
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.mvc-org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties===count:22
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.mvc-org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties===count:22
MyBeanProcessor postProcessBeforeInitialization========, bean name: dispatcherServlet===count:23
MyBeanProcessor postProcessAfterInitialization========, bean name: dispatcherServlet===count:23
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.servlet.multipart-org.springframework.boot.autoconfigure.web.servlet.MultipartProperties===count:24
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.servlet.multipart-org.springframework.boot.autoconfigure.web.servlet.MultipartProperties===count:24
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration===count:25
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration===count:25
MyBeanProcessor postProcessBeforeInitialization========, bean name: multipartConfigElement===count:26
MyBeanProcessor postProcessAfterInitialization========, bean name: multipartConfigElement===count:26
MyBeanProcessor postProcessBeforeInitialization========, bean name: dispatcherServletRegistration===count:27
MyBeanProcessor postProcessAfterInitialization========, bean name: dispatcherServletRegistration===count:27
MyBeanProcessor postProcessBeforeInitialization========, bean name: errorPageCustomizer===count:28
MyBeanProcessor postProcessAfterInitialization========, bean name: errorPageCustomizer===count:28
MyBeanProcessor postProcessAfterInitialization========, bean name: tomcatServletWebServerFactory===count:28
2024-11-08T16:08:40.584+08:00 INFO 8584 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
2024-11-08T16:08:40.587+08:00 INFO 8584 --- [ main] o.a.catalina.core.AprLifecycleListener : An older version [1.2.34] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-11-08T16:08:40.588+08:00 INFO 8584 --- [ main] o.a.catalina.core.AprLifecycleListener : Loaded Apache Tomcat Native library [1.2.34] using APR version [1.7.0].
2024-11-08T16:08:40.591+08:00 INFO 8584 --- [ main] o.a.catalina.core.AprLifecycleListener : OpenSSL successfully initialized [OpenSSL 1.1.1o 3 May 2022]
2024-11-08T16:08:40.604+08:00 INFO 8584 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-11-08T16:08:40.605+08:00 INFO 8584 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31]
2024-11-08T16:08:40.697+08:00 INFO 8584 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-11-08T16:08:40.700+08:00 INFO 8584 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1690 ms
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.WebServicesAutoConfiguration===count:29
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.WebServicesAutoConfiguration===count:29
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.webservices-org.springframework.boot.autoconfigure.webservices.WebServicesProperties===count:30
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.webservices-org.springframework.boot.autoconfigure.webservices.WebServicesProperties===count:30
MyBeanProcessor postProcessBeforeInitialization========, bean name: messageDispatcherServlet===count:31
MyBeanProcessor postProcessAfterInitialization========, bean name: messageDispatcherServlet===count:31
MyBeanProcessor postProcessBeforeInitialization========, bean name: requestContextFilter===count:32
MyBeanProcessor postProcessAfterInitialization========, bean name: requestContextFilter===count:32
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration===count:33
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration===count:33
MyBeanProcessor postProcessBeforeInitialization========, bean name: formContentFilter===count:34
MyBeanProcessor postProcessAfterInitialization========, bean name: formContentFilter===count:34
MyBeanProcessor postProcessBeforeInitialization========, bean name: characterEncodingFilter===count:35
MyBeanProcessor postProcessAfterInitialization========, bean name: characterEncodingFilter===count:35
MyAppAware setBeanName========6
MyAppAware setBeanClassLoader========7==========classloaderapp
MyAppAware setBeanFactory========8
MyAppAware setEnvironment========9
MyAppAware setEmbeddedValueResolver========10
MyAppAware setResourceLoader========11
MyAppAware setApplicationEventPublisher========12
MyAppAware setMessageSource========13
MyAppAware setApplicationStartup========14
MyAppAware setApplicationContext========15
MyBeanProcessor postProcessBeforeInitialization========, bean name: myAppAware===count:36
MyBeanProcessor postProcessAfterInitialization========, bean name: myAppAware===count:36
MyBeanProcessor postProcessBeforeInitialization========, bean name: bootSampleApp===count:37
MyBeanProcessor postProcessAfterInitialization========, bean name: bootSampleApp===count:37
MyBeanProcessor postProcessBeforeInitialization========, bean name: demoController===count:38
MyBeanProcessor postProcessAfterInitialization========, bean name: demoController===count:38
MyBeanProcessor postProcessBeforeInitialization========, bean name: myAppEventListener===count:39
MyBeanProcessor postProcessAfterInitialization========, bean name: myAppEventListener===count:39
MyBeanProcessor postProcessBeforeInitialization========, bean name: myApplicationRunner===count:40
MyBeanProcessor postProcessAfterInitialization========, bean name: myApplicationRunner===count:40
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.AutoConfigurationPackages===count:41
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.AutoConfigurationPackages===count:41
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration===count:42
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration===count:42
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.methodValidationExcludeFilter===count:43
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.methodValidationExcludeFilter===count:43
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.websocket.servlet.WebSocketServletAutoConfiguration===count:44
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.websocket.servlet.WebSocketServletAutoConfiguration===count:44
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration===count:45
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration===count:45
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$ThreadPoolTaskExecutorBuilderConfiguration===count:46
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$ThreadPoolTaskExecutorBuilderConfiguration===count:46
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.task.execution-org.springframework.boot.autoconfigure.task.TaskExecutionProperties===count:47
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.task.execution-org.springframework.boot.autoconfigure.task.TaskExecutionProperties===count:47
MyBeanProcessor postProcessBeforeInitialization========, bean name: threadPoolTaskExecutorBuilder===count:48
MyBeanProcessor postProcessAfterInitialization========, bean name: threadPoolTaskExecutorBuilder===count:48
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$TaskExecutorBuilderConfiguration===count:49
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$TaskExecutorBuilderConfiguration===count:49
MyBeanProcessor postProcessBeforeInitialization========, bean name: taskExecutorBuilder===count:50
MyBeanProcessor postProcessAfterInitialization========, bean name: taskExecutorBuilder===count:50
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$SimpleAsyncTaskExecutorBuilderConfiguration===count:51
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$SimpleAsyncTaskExecutorBuilderConfiguration===count:51
MyBeanProcessor postProcessBeforeInitialization========, bean name: simpleAsyncTaskExecutorBuilder===count:52
MyBeanProcessor postProcessAfterInitialization========, bean name: simpleAsyncTaskExecutorBuilder===count:52
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$TaskExecutorConfiguration===count:53
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutorConfigurations$TaskExecutorConfiguration===count:53
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration===count:54
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration===count:54
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration===count:55
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration===count:55
MyBeanProcessor postProcessBeforeInitialization========, bean name: error===count:56
MyBeanProcessor postProcessAfterInitialization========, bean name: error===count:56
MyBeanProcessor postProcessBeforeInitialization========, bean name: beanNameViewResolver===count:57
MyBeanProcessor postProcessAfterInitialization========, bean name: beanNameViewResolver===count:57
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.web-org.springframework.boot.autoconfigure.web.WebProperties===count:58
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.web-org.springframework.boot.autoconfigure.web.WebProperties===count:58
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$DefaultErrorViewResolverConfiguration===count:59
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$DefaultErrorViewResolverConfiguration===count:59
MyBeanProcessor postProcessBeforeInitialization========, bean name: conventionErrorViewResolver===count:60
MyBeanProcessor postProcessAfterInitialization========, bean name: conventionErrorViewResolver===count:60
MyBeanProcessor postProcessBeforeInitialization========, bean name: errorAttributes===count:61
MyBeanProcessor postProcessAfterInitialization========, bean name: errorAttributes===count:61
MyBeanProcessor postProcessBeforeInitialization========, bean name: basicErrorController===count:62
MyBeanProcessor postProcessAfterInitialization========, bean name: basicErrorController===count:62
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter===count:63
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter===count:63
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration===count:64
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration===count:64
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcConversionService===count:65
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcConversionService===count:65
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcResourceUrlProvider===count:66
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcResourceUrlProvider===count:66
MyBeanProcessor postProcessBeforeInitialization========, bean name: welcomePageHandlerMapping===count:67
MyBeanProcessor postProcessAfterInitialization========, bean name: welcomePageHandlerMapping===count:67
MyBeanProcessor postProcessBeforeInitialization========, bean name: welcomePageNotAcceptableHandlerMapping===count:68
MyBeanProcessor postProcessAfterInitialization========, bean name: welcomePageNotAcceptableHandlerMapping===count:68
MyBeanProcessor postProcessBeforeInitialization========, bean name: localeResolver===count:69
MyBeanProcessor postProcessAfterInitialization========, bean name: localeResolver===count:69
MyBeanProcessor postProcessBeforeInitialization========, bean name: themeResolver===count:70
MyBeanProcessor postProcessAfterInitialization========, bean name: themeResolver===count:70
MyBeanProcessor postProcessBeforeInitialization========, bean name: flashMapManager===count:71
MyBeanProcessor postProcessAfterInitialization========, bean name: flashMapManager===count:71
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcValidator===count:72
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcValidator===count:72
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcContentNegotiationManager===count:73
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcContentNegotiationManager===count:73
MyBeanProcessor postProcessBeforeInitialization========, bean name: requestMappingHandlerMapping===count:74
MyBeanProcessor postProcessAfterInitialization========, bean name: requestMappingHandlerMapping===count:74
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcPatternParser===count:75
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcPatternParser===count:75
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcUrlPathHelper===count:76
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcUrlPathHelper===count:76
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcPathMatcher===count:77
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcPathMatcher===count:77
MyBeanProcessor postProcessBeforeInitialization========, bean name: viewControllerHandlerMapping===count:78
MyBeanProcessor postProcessAfterInitialization========, bean name: viewControllerHandlerMapping===count:78
MyBeanProcessor postProcessBeforeInitialization========, bean name: beanNameHandlerMapping===count:79
MyBeanProcessor postProcessAfterInitialization========, bean name: beanNameHandlerMapping===count:79
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration===count:80
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration===count:80
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration$StringHttpMessageConverterConfiguration===count:81
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration$StringHttpMessageConverterConfiguration===count:81
MyBeanProcessor postProcessBeforeInitialization========, bean name: stringHttpMessageConverter===count:82
MyBeanProcessor postProcessAfterInitialization========, bean name: stringHttpMessageConverter===count:82
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration===count:83
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration===count:83
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration===count:84
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration===count:84
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration===count:85
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration===count:85
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration===count:86
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration===count:86
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties===count:87
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties===count:87
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration===count:88
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration===count:88
MyBeanProcessor postProcessBeforeInitialization========, bean name: parameterNamesModule===count:89
MyBeanProcessor postProcessAfterInitialization========, bean name: parameterNamesModule===count:89
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonMixinConfiguration===count:90
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonMixinConfiguration===count:90
MyBeanProcessor postProcessBeforeInitialization========, bean name: jsonMixinModuleEntries===count:91
MyBeanProcessor postProcessAfterInitialization========, bean name: jsonMixinModuleEntries===count:91
MyBeanProcessor postProcessBeforeInitialization========, bean name: jsonMixinModule===count:92
MyBeanProcessor postProcessAfterInitialization========, bean name: jsonMixinModule===count:92
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration===count:93
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration===count:93
MyBeanProcessor postProcessBeforeInitialization========, bean name: jsonComponentModule===count:94
MyBeanProcessor postProcessAfterInitialization========, bean name: jsonComponentModule===count:94
MyBeanProcessor postProcessBeforeInitialization========, bean name: standardJacksonObjectMapperBuilderCustomizer===count:95
MyBeanProcessor postProcessAfterInitialization========, bean name: standardJacksonObjectMapperBuilderCustomizer===count:95
MyBeanProcessor postProcessBeforeInitialization========, bean name: jacksonObjectMapperBuilder===count:96
MyBeanProcessor postProcessAfterInitialization========, bean name: jacksonObjectMapperBuilder===count:96
MyBeanProcessor postProcessBeforeInitialization========, bean name: jacksonObjectMapper===count:97
MyBeanProcessor postProcessAfterInitialization========, bean name: jacksonObjectMapper===count:97
MyBeanProcessor postProcessBeforeInitialization========, bean name: mappingJackson2HttpMessageConverter===count:98
MyBeanProcessor postProcessAfterInitialization========, bean name: mappingJackson2HttpMessageConverter===count:98
MyBeanProcessor postProcessBeforeInitialization========, bean name: messageConverters===count:99
MyBeanProcessor postProcessAfterInitialization========, bean name: messageConverters===count:99
MyBeanProcessor postProcessBeforeInitialization========, bean name: routerFunctionMapping===count:100
MyBeanProcessor postProcessAfterInitialization========, bean name: routerFunctionMapping===count:100
MyBeanProcessor postProcessBeforeInitialization========, bean name: resourceHandlerMapping===count:101
MyBeanProcessor postProcessAfterInitialization========, bean name: resourceHandlerMapping===count:101
MyBeanProcessor postProcessBeforeInitialization========, bean name: defaultServletHandlerMapping===count:102
MyBeanProcessor postProcessAfterInitialization========, bean name: defaultServletHandlerMapping===count:102
MyBeanProcessor postProcessBeforeInitialization========, bean name: applicationTaskExecutor===count:103
MyBeanProcessor postProcessAfterInitialization========, bean name: applicationTaskExecutor===count:103
MyBeanProcessor postProcessBeforeInitialization========, bean name: requestMappingHandlerAdapter===count:104
MyBeanProcessor postProcessAfterInitialization========, bean name: requestMappingHandlerAdapter===count:104
MyBeanProcessor postProcessBeforeInitialization========, bean name: handlerFunctionAdapter===count:105
MyBeanProcessor postProcessAfterInitialization========, bean name: handlerFunctionAdapter===count:105
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcUriComponentsContributor===count:106
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcUriComponentsContributor===count:106
MyBeanProcessor postProcessBeforeInitialization========, bean name: httpRequestHandlerAdapter===count:107
MyBeanProcessor postProcessAfterInitialization========, bean name: httpRequestHandlerAdapter===count:107
MyBeanProcessor postProcessBeforeInitialization========, bean name: simpleControllerHandlerAdapter===count:108
MyBeanProcessor postProcessAfterInitialization========, bean name: simpleControllerHandlerAdapter===count:108
MyBeanProcessor postProcessBeforeInitialization========, bean name: handlerExceptionResolver===count:109
MyBeanProcessor postProcessAfterInitialization========, bean name: handlerExceptionResolver===count:109
MyBeanProcessor postProcessBeforeInitialization========, bean name: mvcViewResolver===count:110
MyBeanProcessor postProcessAfterInitialization========, bean name: mvcViewResolver===count:110
MyBeanProcessor postProcessBeforeInitialization========, bean name: viewNameTranslator===count:111
MyBeanProcessor postProcessAfterInitialization========, bean name: viewNameTranslator===count:111
MyBeanProcessor postProcessBeforeInitialization========, bean name: defaultViewResolver===count:112
MyBeanProcessor postProcessAfterInitialization========, bean name: defaultViewResolver===count:112
MyBeanProcessor postProcessBeforeInitialization========, bean name: viewResolver===count:113
MyBeanProcessor postProcessAfterInitialization========, bean name: viewResolver===count:113
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.aop.AopAutoConfiguration$ClassProxyingConfiguration===count:114
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.aop.AopAutoConfiguration$ClassProxyingConfiguration===count:114
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.aop.AopAutoConfiguration===count:115
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.aop.AopAutoConfiguration===count:115
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration===count:116
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration===count:116
MyBeanProcessor postProcessBeforeInitialization========, bean name: applicationAvailability===count:117
MyBeanProcessor postProcessAfterInitialization========, bean name: applicationAvailability===count:117
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration===count:118
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration===count:118
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration===count:119
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration===count:119
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.lifecycle-org.springframework.boot.autoconfigure.context.LifecycleProperties===count:120
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.lifecycle-org.springframework.boot.autoconfigure.context.LifecycleProperties===count:120
MyBeanProcessor postProcessBeforeInitialization========, bean name: lifecycleProcessor===count:121
MyBeanProcessor postProcessAfterInitialization========, bean name: lifecycleProcessor===count:121
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration===count:122
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration===count:122
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.info-org.springframework.boot.autoconfigure.info.ProjectInfoProperties===count:123
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.info-org.springframework.boot.autoconfigure.info.ProjectInfoProperties===count:123
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration===count:124
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration===count:124
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration===count:125
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration===count:125
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.sql.init-org.springframework.boot.autoconfigure.sql.init.SqlInitializationProperties===count:126
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.sql.init-org.springframework.boot.autoconfigure.sql.init.SqlInitializationProperties===count:126
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$ThreadPoolTaskSchedulerBuilderConfiguration===count:127
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$ThreadPoolTaskSchedulerBuilderConfiguration===count:127
MyBeanProcessor postProcessBeforeInitialization========, bean name: spring.task.scheduling-org.springframework.boot.autoconfigure.task.TaskSchedulingProperties===count:128
MyBeanProcessor postProcessAfterInitialization========, bean name: spring.task.scheduling-org.springframework.boot.autoconfigure.task.TaskSchedulingProperties===count:128
MyBeanProcessor postProcessBeforeInitialization========, bean name: threadPoolTaskSchedulerBuilder===count:129
MyBeanProcessor postProcessAfterInitialization========, bean name: threadPoolTaskSchedulerBuilder===count:129
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$TaskSchedulerBuilderConfiguration===count:130
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$TaskSchedulerBuilderConfiguration===count:130
MyBeanProcessor postProcessBeforeInitialization========, bean name: taskSchedulerBuilder===count:131
MyBeanProcessor postProcessAfterInitialization========, bean name: taskSchedulerBuilder===count:131
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$SimpleAsyncTaskSchedulerBuilderConfiguration===count:132
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$SimpleAsyncTaskSchedulerBuilderConfiguration===count:132
MyBeanProcessor postProcessBeforeInitialization========, bean name: simpleAsyncTaskSchedulerBuilder===count:133
MyBeanProcessor postProcessAfterInitialization========, bean name: simpleAsyncTaskSchedulerBuilder===count:133
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration===count:134
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration===count:134
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration===count:135
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration===count:135
MyBeanProcessor postProcessBeforeInitialization========, bean name: httpMessageConvertersRestClientCustomizer===count:136
MyBeanProcessor postProcessAfterInitialization========, bean name: httpMessageConvertersRestClientCustomizer===count:136
MyBeanProcessor postProcessBeforeInitialization========, bean name: restClientSsl===count:137
MyBeanProcessor postProcessAfterInitialization========, bean name: restClientSsl===count:137
MyBeanProcessor postProcessBeforeInitialization========, bean name: restClientBuilderConfigurer===count:138
MyBeanProcessor postProcessAfterInitialization========, bean name: restClientBuilderConfigurer===count:138
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration===count:139
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration===count:139
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration===count:140
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration===count:140
MyBeanProcessor postProcessBeforeInitialization========, bean name: multipartResolver===count:141
MyBeanProcessor postProcessAfterInitialization========, bean name: multipartResolver===count:141
MyBeanProcessor postProcessBeforeInitialization========, bean name: payloadRootAnnotationMethodEndpointMapping===count:142
MyBeanProcessor postProcessAfterInitialization========, bean name: payloadRootAnnotationMethodEndpointMapping===count:142
MyBeanProcessor postProcessBeforeInitialization========, bean name: soapActionAnnotationMethodEndpointMapping===count:143
MyBeanProcessor postProcessAfterInitialization========, bean name: soapActionAnnotationMethodEndpointMapping===count:143
MyBeanProcessor postProcessBeforeInitialization========, bean name: defaultMethodEndpointAdapter===count:144
MyBeanProcessor postProcessAfterInitialization========, bean name: defaultMethodEndpointAdapter===count:144
MyBeanProcessor postProcessBeforeInitialization========, bean name: soapFaultAnnotationExceptionResolver===count:145
MyBeanProcessor postProcessAfterInitialization========, bean name: soapFaultAnnotationExceptionResolver===count:145
MyBeanProcessor postProcessBeforeInitialization========, bean name: simpleSoapExceptionResolver===count:146
MyBeanProcessor postProcessAfterInitialization========, bean name: simpleSoapExceptionResolver===count:146
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.WebServicesAutoConfiguration$WsConfiguration===count:147
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.WebServicesAutoConfiguration$WsConfiguration===count:147
MyBeanProcessor postProcessBeforeInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.client.WebServiceTemplateAutoConfiguration===count:148
MyBeanProcessor postProcessAfterInitialization========, bean name: org.springframework.boot.autoconfigure.webservices.client.WebServiceTemplateAutoConfiguration===count:148
MyBeanProcessor postProcessBeforeInitialization========, bean name: webServiceTemplateBuilder===count:149
MyBeanProcessor postProcessAfterInitialization========, bean name: webServiceTemplateBuilder===count:149
2024-11-08T16:08:41.323+08:00 INFO 8584 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path '/'
MyAppListener,event:org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent====order: 16
MyAppListener,event:org.springframework.context.event.ContextRefreshedEvent====order: 17
2024-11-08T16:08:41.335+08:00 INFO 8584 --- [ main] xxx.lq.boot.BootSampleApp : Started BootSampleApp in 2.963 seconds (process running for 3.434)
MyAppListener,event:org.springframework.boot.context.event.ApplicationStartedEvent====order: 18
MyAppListener,event:org.springframework.boot.availability.AvailabilityChangeEvent====order: 19
MyAppListener started===: 20
MyApplicationRunner start============21
MyCommandLineRunner start============22
MyAppListener,event:org.springframework.boot.context.event.ApplicationReadyEvent====order: 23
MyAppListener,event:org.springframework.boot.availability.AvailabilityChangeEvent====order: 24
MyAppListener ready===: 25
本站资源均来自互联网,仅供研究学习,禁止违法使用和商用,产生法律纠纷本站概不负责!如果侵犯了您的权益请与我们联系!
转载请注明出处: 免费源码网-免费的源码资源网站 » Springboot3.3.5 启动流程(源码分析)
发表评论 取消回复