List of usage examples for org.springframework.context.event GenericApplicationListener interface-usage
From source file org.springframework.boot.logging.ClasspathLoggingApplicationListener.java
/**
* A {@link SmartApplicationListener} that reacts to {@link ApplicationStartedEvent start
* events} by logging the classpath of the thread context class loader (TCCL) at
* {@code DEBUG} level and to {@link ApplicationFailedEvent error events} by logging the
* TCCL's classpath at {@code INFO} level.
*
From source file org.springframework.boot.context.logging.ClasspathLoggingApplicationListener.java
/**
* A {@link SmartApplicationListener} that reacts to
* {@link ApplicationEnvironmentPreparedEvent environment prepared events} and to
* {@link ApplicationFailedEvent failed events} by logging the classpath of the thread
* context class loader (TCCL) at {@code DEBUG} level.
*
From source file org.springframework.context.event.ApplicationListenerMethodAdapter.java
/**
* {@link GenericApplicationListener} adapter that delegates the processing of
* an event to an {@link EventListener} annotated method.
*
* <p>Delegates to {@link #processEvent(ApplicationEvent)} to give sub-classes
* a chance to deviate from the default. Unwraps the content of a
From source file org.springframework.boot.logging.LoggingApplicationListener.java
/**
* An {@link ApplicationListener} that configures the {@link LoggingSystem}. If the
* environment contains a {@code logging.config} property a then that will be used to
* initialize the logging system, otherwise a default configuration is used.
* <p>
* By default, log output is only written to the console. If a log file is required the
From source file org.springframework.boot.context.logging.LoggingApplicationListener.java
/**
* An {@link ApplicationListener} that configures the {@link LoggingSystem}. If the
* environment contains a {@code logging.config} property it will be used to bootstrap the
* logging system, otherwise a default configuration is used. Regardless, logging levels
* will be customized if the environment contains {@code logging.level.*} entries and
* logging groups can be defined with {@code logging.group}.