From 7a221dfc234c4bd686215fe82239987407749fb8 Mon Sep 17 00:00:00 2001 From: xuchengsheng Date: Sat, 7 Oct 2023 17:24:11 +0800 Subject: [PATCH] =?UTF-8?q?@ComponentScan=E6=B3=A8=E8=A7=A3=E6=BA=90?= =?UTF-8?q?=E7=A0=81=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring-annotation-componentScan/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-annotation-componentScan/README.md b/spring-annotation-componentScan/README.md index 97780f9..295fa7a 100644 --- a/spring-annotation-componentScan/README.md +++ b/spring-annotation-componentScan/README.md @@ -550,6 +550,8 @@ protected void processConfigurationClass(ConfigurationClass configClass, Predica protected final SourceClass doProcessConfigurationClass( ConfigurationClass configClass, SourceClass sourceClass, Predicate filter) throws IOException { + + // ... [代码部分省略以简化] // 处理任何 @ComponentScan 注解 // 获取当前类(sourceClass)的所有 @ComponentScan 和 @ComponentScans 注解的属性 @@ -579,6 +581,8 @@ protected final SourceClass doProcessConfigurationClass( } } } + + // ... [代码部分省略以简化] // 没有父类 -> 处理完成 return null;