Class KieModuleSwappingEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
de.hybris.platform.ruleengine.event.KieModuleSwappingEvent
- All Implemented Interfaces:
ClusterAwareEvent,Serializable
The Event is fired on Rule Engine initialization to propagate the update to other nodes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKieModuleSwappingEvent(String rulesModuleName, String deployedReleaseIdVersion) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPublish(PublishEventContext publishEventContext) Decide whether this event should be broadcasted/received.Methods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent
publish
-
Constructor Details
-
KieModuleSwappingEvent
-
-
Method Details
-
canPublish
Description copied from interface:ClusterAwareEventDecide whether this event should be broadcasted/received.- Specified by:
canPublishin interfaceClusterAwareEvent- Parameters:
publishEventContext- context object containing all necessary information about target and source node Id's as well as target node groups.- Returns:
trueif event should be published from source cluster node to target cluster node
-
getRulesModuleName
-
getDeployedReleaseIdVersion
-