@@ -97,7 +97,7 @@ public enum SearchStrategy {
9797
9898- 类图
9999
100- ![ image-20200824085726621] ( ../../images/SpringBoot//SpringBoot/ image-20200824085726621.png )
100+ ![ image-20200824085726621] ( ../../images/SpringBoot/image-20200824085726621.png )
101101
102102在看这部分源码之前需要先了解 ` Conditional ` 和` Condition ` 的源码
103103
@@ -421,7 +421,7 @@ for (String type : spec.getTypes()) {
421421
422422- 在忽略 bean 找到之后做一个类型移除的操作.
423423
424- ![ image-20200825140750035] ( ../../images/SpringBoot// image-20200825140750035.png )
424+ ![ image-20200825140750035] ( ../../images/SpringBoot/image-20200825140750035.png )
425425
426426### 返回值
427427
@@ -469,7 +469,7 @@ public static ConditionOutcome noMatch(ConditionMessage message) {
469469 return ConditionOutcome . match(matchMessage);
470470```
471471
472- ![ image-20200825141506531] ( ../../images/SpringBoot// image-20200825141506531.png )
472+ ![ image-20200825141506531] ( ../../images/SpringBoot/image-20200825141506531.png )
473473
474474- 到此结果封装完毕.回到方法` org.springframework.boot.autoconfigure.condition.SpringBootCondition#matches(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata) ` 继续进行
475475 - 再往后就继续执行 spring 的 bean 初始化咯
@@ -492,7 +492,7 @@ public static ConditionOutcome noMatch(ConditionMessage message) {
492492
493493 - 根据类的注解信息我们可以找到有` ResourceBundleCondition `
494494
495- ![ image-20200825092343271] ( ../../images/SpringBoot// image-20200825092343271.png )
495+ ![ image-20200825092343271] ( ../../images/SpringBoot/image-20200825092343271.png )
496496
497497- 获取类名或者方法名的结果是` MessageSourceAutoConfiguration ` 全路径
498498
@@ -592,8 +592,8 @@ org.springframework.boot.autoconfigure.condition.OnWebApplicationCondition
592592
593593- 此时我们可以和前文的源码分析连接起来有一个完整的认识了
594594
595- ![ image-20200825142332485] ( ../../images/SpringBoot// image-20200825142332485.png )
595+ ![ image-20200825142332485] ( ../../images/SpringBoot/image-20200825142332485.png )
596596
597597- 最后来看整体类图
598598
599- ![ image-20200825142418115] ( ../../images/SpringBoot// image-20200825142418115.png )
599+ ![ image-20200825142418115] ( ../../images/SpringBoot/image-20200825142418115.png )
0 commit comments