第2章 配置中心
2.1 第一次加载
2.1.1 启动环境装载
PropertySourceBootstrapConfiguration
1.spring启动run方法
ConfigurableEnvironment environment = this.prepareEnvironment(listeners, applicationArguments);
2.进入prepareEnvironment
private ConfigurableEnvironment prepareEnvironment(SpringApplicationRunListeners listeners, ApplicationArguments applicationArguments) {
ConfigurableEnvironment environment = this.getOrCreateEnvironment();
this.configureEnvironment((ConfigurableEnvironment)environment, applicationArguments.getSourceArgs