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 Summary

    Constructors
    Constructor
    Description
    ContextCloserListener(org.springframework.context.ConfigurableApplicationContext childContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    void
    onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • 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