public final class ClasspathLoggingApplicationListener extends Object implements org.springframework.context.event.SmartApplicationListener
SmartApplicationListener that reacts to start
events by logging the classpath of the thread context class loader (TCCL) at
DEBUG level and to error events by logging the
TCCL's classpath at INFO level.| Constructor and Description |
|---|
ClasspathLoggingApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
boolean |
supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> type) |
boolean |
supportsSourceType(Class<?> sourceType) |
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic 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.SmartApplicationListenerCopyright © 2015 Pivotal Software, Inc.. All rights reserved.