@Component public class SystemDataInitializer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| 构造器和说明 |
|---|
SystemDataInitializer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
循环调用系统中所有的
DataInitializer |
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
DataInitializeronApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2018. All rights reserved.