Merge pull request #81 from jason-liu475/patch-1

Update 1、BeanDefinition的资源定位过程.md
pull/82/head
Yang Libin 4 years ago committed by GitHub
commit e13d4e4a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save