Class EventMultiplexer
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.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.ApplicationListenerDeprecated, 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.voidonApplicationEvent(org.springframework.context.ApplicationEvent event)Deprecated, for removal: This API element is subject to removal in a future version.booleanregisterListener(AbstractEventListener listener)Deprecated, for removal: This API element is subject to removal in a future version.voidsetClusterService(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.booleanunregisterListener(AbstractEventListener listener)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:
onApplicationEventin interfaceorg.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
-
-