Interface ApplicationContextListener


  • public interface ApplicationContextListener
    A listener that can be attached to an ApplicationContext to receive a notification before the application context is destroyed.
    Since:
    2.2
    • Method Detail

      • beforeDestroy

        void beforeDestroy​(ApplicationContextEvent event)
        Called before the related application context is destroyed.
        Parameters:
        event - an event that provides access to the application context