Package org.springframework.boot.builder
Class ParentContextCloserApplicationListener.ContextCloserListener
- java.lang.Object
- org.springframework.boot.builder.ParentContextCloserApplicationListener.ContextCloserListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
- Enclosing class:
- ParentContextCloserApplicationListener
protected static class ParentContextCloserApplicationListener.ContextCloserListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
ApplicationListener
to close the context.
Constructor Summary
Constructors Constructor Description ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
void
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
Constructor Detail
ContextCloserListener
public ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
Method Detail
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>