Class LoggingEnvironmentRunListener

java.lang.Object
com.cumulocity.microservice.logging.configuration.LoggingEnvironmentRunListener
All Implemented Interfaces:
org.springframework.boot.SpringApplicationRunListener

@Order(5) public class LoggingEnvironmentRunListener extends Object implements org.springframework.boot.SpringApplicationRunListener
  • Constructor Summary

    Constructors
    Constructor
    Description
    LoggingEnvironmentRunListener(org.springframework.boot.SpringApplication application, String[] args)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contextLoaded(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
     
    void
    contextPrepared(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
     
    void
    environmentPrepared(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment)
     
    void
    environmentPrepared(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment)
     
    void
    failed(org.springframework.context.ConfigurableApplicationContext context, Throwable exception)
     
    void
    initLogging(ConfigurationFileProvider configurationFileProvider)
     
    void
    ready(org.springframework.context.ConfigurableApplicationContext context, Duration timeTaken)
     
    void
    started(org.springframework.context.ConfigurableApplicationContext context, Duration timeTaken)
     
    void
    starting(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoggingEnvironmentRunListener

      public LoggingEnvironmentRunListener(org.springframework.boot.SpringApplication application, String[] args)
  • Method Details

    • starting

      public void starting(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext)
      Specified by:
      starting in interface org.springframework.boot.SpringApplicationRunListener
    • environmentPrepared

      public void environmentPrepared(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment)
    • environmentPrepared

      public void environmentPrepared(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment)
      Specified by:
      environmentPrepared in interface org.springframework.boot.SpringApplicationRunListener
    • contextPrepared

      public void contextPrepared(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
      Specified by:
      contextPrepared in interface org.springframework.boot.SpringApplicationRunListener
    • contextLoaded

      public void contextLoaded(org.springframework.context.ConfigurableApplicationContext configurableApplicationContext)
      Specified by:
      contextLoaded in interface org.springframework.boot.SpringApplicationRunListener
    • started

      public void started(org.springframework.context.ConfigurableApplicationContext context, Duration timeTaken)
      Specified by:
      started in interface org.springframework.boot.SpringApplicationRunListener
    • ready

      public void ready(org.springframework.context.ConfigurableApplicationContext context, Duration timeTaken)
      Specified by:
      ready in interface org.springframework.boot.SpringApplicationRunListener
    • failed

      public void failed(org.springframework.context.ConfigurableApplicationContext context, Throwable exception)
      Specified by:
      failed in interface org.springframework.boot.SpringApplicationRunListener
    • initLogging

      public void initLogging(ConfigurationFileProvider configurationFileProvider)