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
ConstructorDescriptionContextCloserListener
(org.springframework.context.ConfigurableApplicationContext childContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
onApplicationEvent
(org.springframework.context.event.ContextClosedEvent event) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ContextCloserListener
public ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
-
equals
-
hashCode
public int hashCode()
-