Class SpringEventSender

  • All Implemented Interfaces:
    EventSender, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
    Direct Known Subclasses:
    PlatformClusterEventSender

    public class SpringEventSender
    extends java.lang.Object
    implements EventSender, org.springframework.context.ApplicationContextAware
    Spring event sender class. Each event is published to the ApplicationEventPublisher.publishEvent(org.springframework.context.ApplicationEvent)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.springframework.context.ApplicationContext applicationContext  
    • Field Detail

      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
    • Constructor Detail

      • SpringEventSender

        public SpringEventSender()
    • Method Detail

      • 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