public class AutoConfigurationReportLoggingInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.context.event.SmartApplicationListener
ApplicationContextInitializer and SmartApplicationListener that writes
the AutoConfigurationReport to the log. Reports are logged at the
DEBUG level unless there was a problem, in which case they are
the INFO level is used.
This initializer is not intended to be shared across multiple application context instances.
| Constructor and Description |
|---|
AutoConfigurationReportLoggingInitializer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext) |
void |
logAutoConfigurationReport(boolean isCrashReport) |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
boolean |
supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> type) |
boolean |
supportsSourceType(Class<?> sourceType) |
public AutoConfigurationReportLoggingInitializer()
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> type)
supportsEventType in interface org.springframework.context.event.SmartApplicationListenerpublic boolean supportsSourceType(Class<?> sourceType)
supportsSourceType in interface org.springframework.context.event.SmartApplicationListenerpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>public void logAutoConfigurationReport(boolean isCrashReport)
Copyright © 2014. All rights reserved.