Class ParentContextCloserApplicationListener

java.lang.Object
org.springframework.boot.builder.ParentContextCloserApplicationListener
All Implemented Interfaces:
EventListener, Aware, ApplicationContextAware, ApplicationListener<ParentContextApplicationContextInitializer.ParentContextAvailableEvent>, Ordered

Listener that closes the application context if its parent is closed. It listens for refresh events and grabs the current context from there, and then listens for closed events and propagates it down the hierarchy.
Since:
1.0.0
Author:
Dave Syer, Eric Bottard