Class EventMultiplexer

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener

    @Deprecated(since="ages",
                forRemoval=true)
    public class EventMultiplexer
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      EventMultiplexer()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.List<AbstractEventListener> getListeners()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void onApplicationEvent​(org.springframework.context.ApplicationEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean registerListener​(AbstractEventListener listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      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.
      boolean unregisterListener​(AbstractEventListener listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventMultiplexer

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

      • 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 java.util.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