ParentContextCloserApplicationListener
open class ParentContextCloserApplicationListener : ApplicationListener<E> , ApplicationContextAware, 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.
Author
Dave Syer
Eric Bottard
Since
1.0.0