接口 NacosApplicationListener
-
public interface NacosApplicationListenerNacos Application Listener, execute init process.- 从以下版本开始:
- 1.4.1
- 作者:
- horizonzy
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidcontextLoaded(org.springframework.context.ConfigurableApplicationContext context)voidcontextPrepared(org.springframework.context.ConfigurableApplicationContext context)voidenvironmentPrepared(org.springframework.core.env.ConfigurableEnvironment environment)voidfailed(org.springframework.context.ConfigurableApplicationContext context, java.lang.Throwable exception)voidrunning(org.springframework.context.ConfigurableApplicationContext context)voidstarted(org.springframework.context.ConfigurableApplicationContext context)voidstarting()
-
-
-
方法详细资料
-
starting
void starting()
-
environmentPrepared
void environmentPrepared(org.springframework.core.env.ConfigurableEnvironment environment)
- 参数:
environment- environment
-
contextPrepared
void contextPrepared(org.springframework.context.ConfigurableApplicationContext context)
- 参数:
context- context
-
contextLoaded
void contextLoaded(org.springframework.context.ConfigurableApplicationContext context)
- 参数:
context- context
-
started
void started(org.springframework.context.ConfigurableApplicationContext context)
- 参数:
context- context
-
running
void running(org.springframework.context.ConfigurableApplicationContext context)
- 参数:
context- context
-
failed
void failed(org.springframework.context.ConfigurableApplicationContext context, java.lang.Throwable exception)- 参数:
context- contextexception- exception
-
-