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

2021/10/14 9:14:22

本文主要是介绍10.003 Spring文档之附录应用程序启动步骤,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

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

Application startup steps defined in the core container
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 应用程序上下文刷新阶段


这篇关于10.003 Spring文档之附录应用程序启动步骤的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程