摘要: @RefreshScope刷新机制1. 前置条件 1.1 RefreshAutoConfiguration 作为配置, 然后注入ContextRefresher 1.2 scope 必须是 refresh2. 项目启动后nacos 发布刷新事件(ContextRefreshedEvent) 3. R 阅读全文
posted @ 2023-07-06 09:42 ppx-gg 阅读(221) 评论(0) 推荐(0)