Class ApplicationStatusServiceListener

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class ApplicationStatusServiceListener
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Since:
    7.9.0
    • Constructor Detail

      • ApplicationStatusServiceListener

        public ApplicationStatusServiceListener​(MutableApplicationStatusService applicationStatusService,
                                                com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • onApplicationStoppingEvent

        @EventListener
        public void onApplicationStoppingEvent​(com.atlassian.config.lifecycle.events.ApplicationStoppingEvent e)
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception