摘要: Nacos客户端的数据的加载流程 Nacos的外部化配置的实现? NacosPropertySourceLocator。 Spring cloud Nacos配置的加载 Spring Cloud Nacos配置变更 @RefreshScope - Spring Cloud中提供的能力,在Spring 阅读全文
posted @ 2022-10-16 15:42 snail灬 阅读(815) 评论(0) 推荐(0) 编辑
摘要: PropertySourceLocator加载原理 SpringApplication.run 在spring boot项目启动时,有一个prepareContext的方法,它会回调所有实现了ApplicationContextInitializer的实例,来做一些初始化工作。 public Con 阅读全文
posted @ 2022-10-16 11:14 snail灬 阅读(84) 评论(0) 推荐(0) 编辑