类 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)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    contextPrepared(org.springframework.context.ConfigurableApplicationContext context)
     
    void
    environmentPrepared(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment)
     
    int
     

    从类继承的方法 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