private MutablePropertySources extractEnvironmentPropertySources() {
Environment environment = this.applicationContext.getEnvironment();
if (environment instanceof ConfigurableEnvironment) {
return ((ConfigurableEnvironment) environment).getPropertySources();
}
return null;
}
PropertySourcesDeducer # Environment
最新推荐文章于 2024-08-23 15:54:50 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)