This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Framework 6.1.13!spring-doc.cn

This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Framework 6.1.13!spring-doc.cn

This part of the appendix lists the existing StartupSteps that the core container is instrumented with.spring-doc.cn

The name and detailed information about each startup step is not part of the public contract and is subject to change; this is considered as an implementation detail of the core container and will follow its behavior changes.
The name and detailed information about each startup step is not part of the public contract and is subject to change; this is considered as an implementation detail of the core container and will follow its behavior changes.
Table 1. Application startup steps defined in the core container
Name Description Tags

spring.beans.instantiatespring-doc.cn

Instantiation of a bean and its dependencies.spring-doc.cn

beanName the name of the bean, beanType the type required at the injection point.spring-doc.cn

spring.beans.smart-initializespring-doc.cn

Initialization of SmartInitializingSingleton beans.spring-doc.cn

beanName the name of the bean.spring-doc.cn

spring.context.annotated-bean-reader.createspring-doc.cn

Creation of the AnnotatedBeanDefinitionReader.spring-doc.cn

spring.context.base-packages.scanspring-doc.cn

Scanning of base packages.spring-doc.cn

packages array of base packages for scanning.spring-doc.cn

spring.context.beans.post-processspring-doc.cn

Beans post-processing phase.spring-doc.cn

spring.context.bean-factory.post-processspring-doc.cn

Invocation of the BeanFactoryPostProcessor beans.spring-doc.cn

postProcessor the current post-processor.spring-doc.cn

spring.context.beandef-registry.post-processspring-doc.cn

Invocation of the BeanDefinitionRegistryPostProcessor beans.spring-doc.cn

postProcessor the current post-processor.spring-doc.cn

spring.context.component-classes.registerspring-doc.cn

Registration of component classes through AnnotationConfigApplicationContext#register.spring-doc.cn

classes array of given classes for registration.spring-doc.cn

spring.context.config-classes.enhancespring-doc.cn

Enhancement of configuration classes with CGLIB proxies.spring-doc.cn

classCount count of enhanced classes.spring-doc.cn

spring.context.config-classes.parsespring-doc.cn

Configuration classes parsing phase with the ConfigurationClassPostProcessor.spring-doc.cn

classCount count of processed classes.spring-doc.cn

spring.context.refreshspring-doc.cn

Application context refresh phase.spring-doc.cn