10.003 Spring文档之附录应用程序启动步骤

Application Startup Steps
注意:
每个启动步骤的名称和详细信息不属于公共合同的一部分,可能会发生变化;这被认为是核心容器的实现细节,并将跟踪其行为变化。

Application startup steps defined in the core container

Name Description Tags
spring.beans.instantiate Instantiation of a bean and its dependencies. beanName the name of the bean, beanType the type required at the injection point.
spring.beans.smart-initialize Initialization of SmartInitializingSingleton beans. beanName the name of the bean.
spring.context.annotated-bean-reader.create Creation of the AnnotatedBeanDefinitionReader.
spring.context.base-packages.scan Scanning of base packages. packages array of base packages for scanning.
spring.context.beans.post-process Beans post-processing phase.
spring.context.bean-factory.post-process Invocation of the BeanFactoryPostProcessor beans. postProcessor the current post-processor.
spring.context.beandef-registry.post-process Invocation of the BeanDefinitionRegistryPostProcessor beans. postProcessor the current post-processor.
spring.context.component-classes.register Registration of component classes through AnnotationConfigApplicationContext#register. classes array of given classes for registration.
spring.context.config-classes.enhance Enhancement of configuration classes with CGLIB proxies. classCount count of enhanced classes.
spring.context.config-classes.parse Configuration classes parsing phase with the ConfigurationClassPostProcessor. classCount count of processed classes.
spring.context.refresh Application context refresh phase.
Name Description Tags
spring.beans.instantiate 一个 bean和它的依赖的实例化. beanName the name of the bean, beanType the type required at the injection point.
spring.beans.smart-initialize 迅速地初始化单元beans实例化 beanName the name of the bean.
spring.context.annotated-bean-reader.create Bean定义读取者注释的创建
spring.context.base-packages.scan 基础包扫描 packages array of base packages for scanning.
spring.context.beans.post-process Beans post-processing阶段.
spring.context.bean-factory.post-process the BeanFactoryPostProcessor beans的调用. postProcessor the current post-processor.
spring.context.beandef-registry.post-process BeanDefinitionRegistryPostProcessor beans的调用. postProcessor the current post-processor.
spring.context.component-classes.register AnnotationConfigApplicationContext#register注册组件类. classes array of given classes for registration.
spring.context.config-classes.enhance 配置类通过CGLIB代理增强. classCount count of enhanced classes.
spring.context.config-classes.parse 配置类Post处理者解析配置类阶段. classCount count of processed classes.
spring.context.refresh 应用程序上下文刷新阶段
posted @ 2021-10-14 02:15  Ishton  阅读(66)  评论(0)    收藏  举报