类 ClasspathLoggingApplicationListener
- java.lang.Object
- org.springframework.boot.context.logging.ClasspathLoggingApplicationListener
- 所有已实现的接口:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
,org.springframework.context.event.GenericApplicationListener
,org.springframework.core.Ordered
public final class ClasspathLoggingApplicationListener extends Object implements org.springframework.context.event.GenericApplicationListener
ASmartApplicationListener
that reacts toenvironment prepared events
and tofailed events
by logging the classpath of the thread context class loader (TCCL) atDEBUG
level.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 ClasspathLoggingApplicationListener()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
getOrder()
void
onApplicationEvent(org.springframework.context.ApplicationEvent event)
boolean
supportsEventType(org.springframework.core.ResolvableType resolvableType)
构造器详细资料
ClasspathLoggingApplicationListener
public ClasspathLoggingApplicationListener()
方法详细资料
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
- 指定者:
onApplicationEvent
在接口中org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
getOrder
public int getOrder()
- 指定者:
getOrder
在接口中org.springframework.context.event.GenericApplicationListener
- 指定者:
getOrder
在接口中org.springframework.core.Ordered
supportsEventType
public boolean supportsEventType(org.springframework.core.ResolvableType resolvableType)
- 指定者:
supportsEventType
在接口中org.springframework.context.event.GenericApplicationListener