|
|
|
@ -326,8 +326,7 @@ public class ConfigFileApplicationListener implements EnvironmentPostProcessor,
|
|
|
|
|
Loader(ConfigurableEnvironment environment, ResourceLoader resourceLoader) {
|
|
|
|
|
this.environment = environment;
|
|
|
|
|
this.placeholdersResolver = new PropertySourcesPlaceholdersResolver(this.environment);
|
|
|
|
|
this.resourceLoader = (resourceLoader != null) ? resourceLoader
|
|
|
|
|
: new DefaultResourceLoader(getClass().getClassLoader());
|
|
|
|
|
this.resourceLoader = (resourceLoader != null) ? resourceLoader : new DefaultResourceLoader(null);
|
|
|
|
|
this.propertySourceLoaders = SpringFactoriesLoader.loadFactories(PropertySourceLoader.class,
|
|
|
|
|
getClass().getClassLoader());
|
|
|
|
|
}
|
|
|
|
|