Skip to content

Commit 78bf0cc

Browse files
authored
Update 1、BeanDefinition的资源定位过程.md
看调用方法返回的是加载BeanDefinition的个数,而不是配置文件个数
1 parent 19fca0c commit 78bf0cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Spring/IoC/1、BeanDefinition的资源定位过程.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ AbstractBeanDefinitionReader 中对 loadBeanDefinitions 方法的各种重载及
261261
*/
262262
public int loadBeanDefinitions(String... locations) throws BeanDefinitionStoreException {
263263
Assert.notNull(locations, "Location array must not be null");
264-
// 计数器,统计加载了多少个配置文件
264+
// 计数器,统计加载了多少个BeanDefinition
265265
int counter = 0;
266266
for (String location : locations) {
267267
counter += loadBeanDefinitions(location);

0 commit comments

Comments
 (0)