title: Spring Parent Child Context and Application Listeners
body: <p>I have a question about the nature of Spring's ApplicationListener in regards to Parent and Child Contexts.  Let's say you create a Parent Context which creates a bean that is a singleton and is registered as an ApplicationListener.  Then later a Child Context is created using the Parent Context.  When closing the Child Context Spring will send out a ContextClosedEvent.  Does this event get propagated to the Parent Context as well causing all of the Parent Context singletons who are ApplicationListeners to receive the event?</p>
  
  <p>I noticed in the documentation that a [ContextClosedEvent]: (<a href="http://docs.spring.io/spring/docs/4.0.6.RELEASE/spring-framework-reference/htmlsingle/#context-functionality-events" rel="nofollow">http://docs.spring.io/spring/docs/4.0.6.RELEASE/spring-framework-reference/htmlsingle/#context-functionality-events</a>) , "Published when the ApplicationContext is closed, using the close() method on the ConfigurableApplicationContext interface. "Closed" here means that all singleton beans are destroyed. A closed context reaches its end of life; it cannot be refreshed or restarted." </p>
  
  <p>Essentially what I am asking is Event Publishing confined to specific Child Contexts, or does it propagate throughout all Parent/Child Contexts? </p>