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

public class KieModuleSwappingEvent extends AbstractEvent implements ClusterAwareEvent
The Event is fired on Rule Engine initialization to propagate the update to other nodes.
See Also:
  • Constructor Details

    • KieModuleSwappingEvent

      public KieModuleSwappingEvent(String rulesModuleName, String deployedReleaseIdVersion)
  • Method Details

    • canPublish

      public boolean canPublish(PublishEventContext publishEventContext)
      Description copied from interface: ClusterAwareEvent
      Decide whether this event should be broadcasted/received.
      Specified by:
      canPublish in interface ClusterAwareEvent
      Parameters:
      publishEventContext - context object containing all necessary information about target and source node Id's as well as target node groups.
      Returns:
      true if event should be published from source cluster node to target cluster node
    • getRulesModuleName

      public String getRulesModuleName()
    • getDeployedReleaseIdVersion

      public String getDeployedReleaseIdVersion()