Package jadex.bpmn.runtime.handler
Class EventIntermediateMessageActivityHandler
- java.lang.Object
- 
- jadex.bpmn.runtime.handler.DefaultActivityHandler
- 
- jadex.bpmn.runtime.handler.EventIntermediateMessageActivityHandler
 
 
- 
- All Implemented Interfaces:
- IActivityHandler
 - Direct Known Subclasses:
- EventIntermediateServiceActivityHandler
 
 public class EventIntermediateMessageActivityHandler extends DefaultActivityHandler Handler for message events.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPROPERTY_FILTERThe filter property describes the filter for receiving a message.static java.lang.StringPROPERTY_MESSAGEThe property message is the message object to be sent.static java.lang.StringPROPERTY_RECEIVERThe property receiver is the cid of the intended receiver (may be null if set in message object, e.g.- 
Fields inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandlerDEBUG
 
- 
 - 
Constructor SummaryConstructors Constructor Description EventIntermediateMessageActivityHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.protected voidreceiveMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Receive a message.protected voidsendMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Send a message.- 
Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandlercancel, doExecute, getBpmnFeature
 
- 
 
- 
- 
- 
Field Detail- 
PROPERTY_FILTERpublic static final java.lang.String PROPERTY_FILTER The filter property describes the filter for receiving a message.- See Also:
- Constant Field Values
 
 - 
PROPERTY_MESSAGEpublic static final java.lang.String PROPERTY_MESSAGE The property message is the message object to be sent.- See Also:
- Constant Field Values
 
 - 
PROPERTY_RECEIVERpublic static final java.lang.String PROPERTY_RECEIVER The property receiver is the cid of the intended receiver (may be null if set in message object, e.g. in FIPA messages).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
executepublic void execute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.- Specified by:
- executein interface- IActivityHandler
- Overrides:
- executein class- DefaultActivityHandler
- Parameters:
- activity- The activity to execute.
- instance- The process instance.
- thread- The process thread.
 
 - 
sendMessageprotected void sendMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Send a message.- Parameters:
- activity- The activity to execute.
- instance- The process instance.
- thread- The process thread.
 
 - 
receiveMessageprotected void receiveMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Receive a message.- Parameters:
- activity- The activity to execute.
- instance- The process instance.
- thread- The process thread.
 
 
- 
 
-