protected static class ParentContextCloserApplicationListener.ContextCloserListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
ApplicationListener to close the context.| Constructor and Description |
|---|
ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) |
public ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object