类 ParentContextCloserApplicationListener.ContextCloserListener
- java.lang.Object
- org.springframework.boot.builder.ParentContextCloserApplicationListener.ContextCloserListener
- 所有已实现的接口:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
protected static class ParentContextCloserApplicationListener.ContextCloserListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
ApplicationListener
to close the context.
构造器概要
构造器 构造器 说明 ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
构造器详细资料
ContextCloserListener
public ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
方法详细资料
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
- 指定者:
onApplicationEvent
在接口中org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>