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:
- 4.0
- Spring Bean ID:
- hybrisEventMultiplexer
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, 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.
-
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:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener- Parameters:
event- processed only if this event is an "AbstractEvent"
-
registerListener
Deprecated, for removal: This API element is subject to removal in a future version. -
unregisterListener
Deprecated, for removal: This API element is subject to removal in a future version. -
getListeners
Deprecated, for removal: This API element is subject to removal in a future version. -
setClusterService
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
-
HybrisApplicationEventMulticaster