@Component public class ProjectInit extends Object implements org.springframework.boot.ApplicationRunner, org.springframework.context.ApplicationListener<com.purgeteam.dynamic.config.starter.event.ActionConfigEvent>
| 构造器和说明 |
|---|
ProjectInit() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onApplicationEvent(com.purgeteam.dynamic.config.starter.event.ActionConfigEvent event)
监听nacos修改文件事件
|
void |
run(org.springframework.boot.ApplicationArguments args)
系统初始化相关配置文件
|
Copyright © 2022. All rights reserved.