Class AgentDesktopAbstractEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- de.hybris.platform.servicelayer.event.events.AbstractEvent
-
- de.hybris.platform.sap.agentdesktopdataexchange.events.AgentDesktopAbstractEvent
-
- All Implemented Interfaces:
ClusterAwareEvent
,java.io.Serializable
- Direct Known Subclasses:
AbstractCustomerEvent
,AbstractOrderEvent
public class AgentDesktopAbstractEvent extends AbstractEvent implements ClusterAwareEvent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgentDesktopAbstractEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canPublish(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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent
publish
-
-
-
-
Method Detail
-
canPublish
public boolean canPublish(PublishEventContext publishEventContext)
Description copied from interface:ClusterAwareEvent
Decide whether this event should be broadcasted/received.- Specified by:
canPublish
in interfaceClusterAwareEvent
- 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
-
-