fix: update BeanDefinition的资源定位过程.md (#95)

// 告诉读取器配置文件放在哪里,该方法继承于爷类AbstractRefreshConfigApplicationContext
		setConfigLocations(configLocations);
pull/96/head
singerpo 3 years ago committed by GitHub
parent 7af6bcb02d
commit 7909fe4670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ public FileSystemXmlApplicationContext(String[] configLocations, boolean refresh
// 动态地确定用哪个加载器去加载我们的配置文件
super(parent);
// 告诉读取器 配置文件放在哪里,该方法继承于爷类 AbstractRefreshableApplicationContext
// 告诉读取器 配置文件放在哪里,该方法继承于爷类 AbstractRefreshableConfigApplicationContext
setConfigLocations(configLocations);
if (refresh) {
// 容器初始化

Loading…
Cancel
Save