java - Spring AnnotationConfigApplicationContext StartupStep spring.context.annotated-bean-reader.create
问题描述
在 AnnotationConfigApplicationContext 第 67 行
public AnnotationConfigApplicationContext() {
StartupStep createAnnotatedBeanDefReader = this.getApplicationStartup().start("spring.context.annotated-bean-reader.create");
this.reader = new AnnotatedBeanDefinitionReader(this);
createAnnotatedBeanDefReader.end();
this.scanner = new ClassPathBeanDefinitionScanner(this);
}
这StartupStep
是DefaultApplicationStartup
start("spring.context.annotated-bean-reader.create")
这个名字没用。
那么为什么要在这个方法中传递呢?
解决方案
推荐阅读
- rust - 实现 proc 宏时的循环包依赖
- git - Git 将 master 合并到分支和新功能中
- excel - 对特定工作表中的范围进行排序不起作用
- ios - Swift,如何在我的应用程序中共享 API 结果?
- bash - 从 Dockerfile 执行 Shell 脚本
- networking - 来自远程 ip 的数据包如何到达本地进程
- woocommerce - 取消设置后如何恢复woocommerce结帐字段
- docker - 是否可以定义在 k8s 和 docker 中都可用的卷?
- java - javax.net.ssl.sslhandshakeexception 华为手机握手失败
- javascript - 将大型 koa 请求正文上传到 AWS S3 的正确方法是什么?