public final class ClasspathLoggingApplicationListener extends Object implements org.springframework.context.event.GenericApplicationListener
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(org.springframework.core.ResolvableType resolvableType) |
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.Ordered
public boolean supportsEventType(org.springframework.core.ResolvableType resolvableType)
supportsEventType
in interface org.springframework.context.event.GenericApplicationListener
public boolean supportsSourceType(Class<?> sourceType)
supportsSourceType
in interface org.springframework.context.event.GenericApplicationListener
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.