public final class ClasspathLoggingApplicationListener extends Object implements GenericApplicationListener
SmartApplicationListener
that reacts to start
events
and to failed events
by logging the classpath of
the thread context class loader (TCCL) at DEBUG
level.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ClasspathLoggingApplicationListener() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
onApplicationEvent(ApplicationEvent event) |
boolean |
supportsEventType(ResolvableType resolvableType) |
boolean |
supportsSourceType(Class<?> sourceType) |
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent
in interface ApplicationListener<ApplicationEvent>
public boolean supportsEventType(ResolvableType resolvableType)
supportsEventType
in interface GenericApplicationListener
public boolean supportsSourceType(Class<?> sourceType)
supportsSourceType
in interface GenericApplicationListener
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.