Class EventServiceStub

java.lang.Object
de.hybris.platform.ruleengineservices.util.EventServiceStub
All Implemented Interfaces:
EventService

public class EventServiceStub extends Object implements EventService
  • Constructor Details

    • EventServiceStub

      public EventServiceStub()
  • Method Details

    • publishEvent

      public void publishEvent(AbstractEvent event)
      Description copied from interface: EventService
      Publish the given AbstractEvent in the current EventScope to the EventSender.
      Specified by:
      publishEvent in interface EventService
      Parameters:
      event - the event
    • registerEventListener

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

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

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