From 78bf0cccdb6e48e84024f6aaa9c63ff5856932f1 Mon Sep 17 00:00:00 2001 From: Jason_liu Date: Sun, 13 Dec 2020 22:06:39 +0800 Subject: [PATCH] =?UTF-8?q?Update=201=E3=80=81BeanDefinition=E7=9A=84?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=AE=9A=E4=BD=8D=E8=BF=87=E7=A8=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 看调用方法返回的是加载BeanDefinition的个数,而不是配置文件个数 --- docs/Spring/IoC/1、BeanDefinition的资源定位过程.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Spring/IoC/1、BeanDefinition的资源定位过程.md b/docs/Spring/IoC/1、BeanDefinition的资源定位过程.md index 053118d..8350c16 100644 --- a/docs/Spring/IoC/1、BeanDefinition的资源定位过程.md +++ b/docs/Spring/IoC/1、BeanDefinition的资源定位过程.md @@ -261,7 +261,7 @@ AbstractBeanDefinitionReader 中对 loadBeanDefinitions 方法的各种重载及 */ public int loadBeanDefinitions(String... locations) throws BeanDefinitionStoreException { Assert.notNull(locations, "Location array must not be null"); - // 计数器,统计加载了多少个配置文件 + // 计数器,统计加载了多少个BeanDefinition int counter = 0; for (String location : locations) { counter += loadBeanDefinitions(location);