Class ParentContextCloserApplicationListener.ContextCloserListener

java.lang.Object
org.springframework.boot.builder.ParentContextCloserApplicationListener.ContextCloserListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
Enclosing class:
ParentContextCloserApplicationListener

protected static class ParentContextCloserApplicationListener.ContextCloserListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
ApplicationListener to close the context.
  • Constructor Details

    • ContextCloserListener

      public ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object