类 NacosLoggingAppRunListener
java.lang.Object
com.alibaba.cloud.nacos.logging.NacosLoggingAppRunListener
- 所有已实现的接口:
org.springframework.boot.SpringApplicationRunListener,org.springframework.core.Ordered
public class NacosLoggingAppRunListener
extends Object
implements org.springframework.boot.SpringApplicationRunListener, org.springframework.core.Ordered
Reload nacos log configuration on spring application contextPrepared.
- 作者:
- RuanSheng
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明NacosLoggingAppRunListener(org.springframework.boot.SpringApplication application, String[] args) -
方法概要
修饰符和类型方法说明voidcontextPrepared(org.springframework.context.ConfigurableApplicationContext context) voidenvironmentPrepared(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment) intgetOrder()从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.boot.SpringApplicationRunListener
contextLoaded, failed, ready, started, starting
-
构造器详细资料
-
NacosLoggingAppRunListener
public NacosLoggingAppRunListener(org.springframework.boot.SpringApplication application, String[] args)
-
-
方法详细资料
-
environmentPrepared
public void environmentPrepared(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment) - 指定者:
environmentPrepared在接口中org.springframework.boot.SpringApplicationRunListener
-
contextPrepared
public void contextPrepared(org.springframework.context.ConfigurableApplicationContext context) - 指定者:
contextPrepared在接口中org.springframework.boot.SpringApplicationRunListener
-
getOrder
public int getOrder()- 指定者:
getOrder在接口中org.springframework.core.Ordered
-