Class ProcessApplicationEventPublisher

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class ProcessApplicationEventPublisher
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware
    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessApplicationEventPublisher​(org.springframework.context.ApplicationEventPublisher publisher)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleApplicationReadyEvent​(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent)  
      void handleContextStoppedEvent​(org.springframework.context.event.ContextClosedEvent contextStoppedEvent)  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessApplicationEventPublisher

        public ProcessApplicationEventPublisher​(org.springframework.context.ApplicationEventPublisher publisher)
    • Method Detail

      • handleApplicationReadyEvent

        @EventListener
        public void handleApplicationReadyEvent​(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent)
      • handleContextStoppedEvent

        @EventListener
        public void handleContextStoppedEvent​(org.springframework.context.event.ContextClosedEvent contextStoppedEvent)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException