protected static class ParentContextCloserApplicationListener.ContextCloserListener extends Object implements ApplicationListener<ContextClosedEvent>
ApplicationListener
to close the context.Constructor and Description |
---|
ContextCloserListener(ConfigurableApplicationContext childContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
onApplicationEvent(ContextClosedEvent event) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forPayload
public ContextCloserListener(ConfigurableApplicationContext childContext)
public void onApplicationEvent(ContextClosedEvent event)
onApplicationEvent
in interface ApplicationListener<ContextClosedEvent>