Class EventMultiplexer

java.lang.Object
de.hybris.platform.servicelayer.event.impl.EventMultiplexer
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener

@Deprecated(since="ages", forRemoval=true) public class EventMultiplexer extends Object implements org.springframework.context.ApplicationListener
Deprecated, for removal: This API element is subject to removal in a future version.
since ages - Please useHybrisApplicationEventMulticaster
Since:
4.0
Spring Bean ID:
hybrisEventMultiplexer
  • Constructor Details

    • EventMultiplexer

      public EventMultiplexer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener
      Parameters:
      event - processed only if this event is an "AbstractEvent"
    • registerListener

      public boolean registerListener(AbstractEventListener listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • unregisterListener

      public boolean unregisterListener(AbstractEventListener listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getListeners

      public List<AbstractEventListener> getListeners()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setClusterService

      public void setClusterService(ClusterService clusterService)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The multiplexer can filter out all events where the cluster id in the event does not match the current cluster. This is for performance reasons already done in this multiplexer
      Parameters:
      clusterService - the clusterService