Interface EventService

  • All Known Implementing Classes:
    DefaultEventService, EventServiceStub

    public interface EventService
    Interface for handling with the event service.
    Since:
    4.0
    Spring Bean ID:
    eventService
    • Method Detail

      • registerEventListener

        boolean registerEventListener​(org.springframework.context.ApplicationListener listener)
        Register the given ApplicationListener to the event service.
        Parameters:
        listener - the listener to be register
        Returns:
        true if registration was sucessfull
      • unregisterEventListener

        boolean unregisterEventListener​(org.springframework.context.ApplicationListener listener)
        Removes the given ApplicationListener from the event service.
        Parameters:
        listener - the listener to be unregister
        Returns:
        true if removal was sucessfull
      • getEventListeners

        java.util.Set<org.springframework.context.ApplicationListener> getEventListeners()
        Returns:
        a set with all registered ApplicationListeners