@ComponentScan注解源码分析

master
xuchengsheng 2023-10-07 17:24:11 +08:00
parent 0a881f49ac
commit 7a221dfc23
1 changed files with 4 additions and 0 deletions

View File

@ -550,6 +550,8 @@ protected void processConfigurationClass(ConfigurationClass configClass, Predica
protected final SourceClass doProcessConfigurationClass(
ConfigurationClass configClass, SourceClass sourceClass, Predicate<String> filter)
throws IOException {
// ... [代码部分省略以简化]
// 处理任何 @ComponentScan 注解
// 获取当前类sourceClass的所有 @ComponentScan@ComponentScans 注解的属性
@ -579,6 +581,8 @@ protected final SourceClass doProcessConfigurationClass(
}
}
}
// ... [代码部分省略以简化]
// 没有父类 -> 处理完成
return null;