public class FlywayInitListener extends ContextInitializedListener implements org.springframework.core.Ordered
当spring装配好配置后开始初始化
| 构造器和说明 |
|---|
FlywayInitListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
eventCallback(org.springframework.boot.context.event.ApplicationContextInitializedEvent event) |
int |
getOrder() |
onApplicationEventpublic void eventCallback(org.springframework.boot.context.event.ApplicationContextInitializedEvent event)
eventCallback 在类中 ContextInitializedListenerpublic int getOrder()
getOrder 在接口中 org.springframework.core.OrderedCopyright © 2022. All rights reserved.