Class DefaultEventService

  • All Implemented Interfaces:
    EventService, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DefaultEventService
    extends AbstractService
    implements EventService
    Default implementation of the abstract service interface.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultEventService

        public DefaultEventService()
    • Method Detail

      • registerEventListener

        public boolean registerEventListener​(org.springframework.context.ApplicationListener listener)
        Description copied from interface: EventService
        Register the given ApplicationListener to the event service.
        Specified by:
        registerEventListener in interface EventService
        Parameters:
        listener - the listener to be register
        Returns:
        true if registration was sucessfull
      • unregisterEventListener

        public boolean unregisterEventListener​(org.springframework.context.ApplicationListener listener)
        Description copied from interface: EventService
        Removes the given ApplicationListener from the event service.
        Specified by:
        unregisterEventListener in interface EventService
        Parameters:
        listener - the listener to be unregister
        Returns:
        true if removal was sucessfull
      • getEventListeners

        public java.util.Set<org.springframework.context.ApplicationListener> getEventListeners()
        Specified by:
        getEventListeners in interface EventService
        Returns:
        a set with all registered ApplicationListeners
      • setTenantService

        public void setTenantService​(TenantService tenantService)
      • setClusterService

        public void setClusterService​(ClusterService clusterService)
      • setApplicationEventMulticaster

        public void setApplicationEventMulticaster​(org.springframework.context.event.ApplicationEventMulticaster appEventMulticaster)
      • setEventSender

        public void setEventSender​(EventSender eventSender)
      • setAdditionalEventSenders

        public void setAdditionalEventSenders​(java.util.List<EventSender> additionalEventSenders)