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 Summary
Fields 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.DefaultActivityHandler
DEBUG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description EventIntermediateMessageActivityHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectassembleMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)voidexecute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.IComponentIdentifiergetCid(java.lang.Object cid, IComponentIdentifier parent)Convert a string to component identifierprotected 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.DefaultActivityHandler
cancel, doExecute, getBpmnFeature 
 - 
 
 - 
 
- 
- 
Field Detail
- 
PROPERTY_FILTER
public static final java.lang.String PROPERTY_FILTER
The filter property describes the filter for receiving a message.- See Also:
 - Constant Field Values
 
 
- 
PROPERTY_MESSAGE
public static final java.lang.String PROPERTY_MESSAGE
The property message is the message object to be sent.- See Also:
 - Constant Field Values
 
 
- 
PROPERTY_RECEIVER
public 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
- 
execute
public void execute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.- Specified by:
 executein interfaceIActivityHandler- Overrides:
 executein classDefaultActivityHandler- Parameters:
 activity- The activity to execute.instance- The process instance.thread- The process thread.
 
- 
getCid
public IComponentIdentifier getCid(java.lang.Object cid, IComponentIdentifier parent)
Convert a string to component identifier- Parameters:
 cid- The component identifier.- Returns:
 - parent The parent.
 
 
- 
assembleMessage
protected java.lang.Object assembleMessage(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)- Returns:
 
 
- 
sendMessage
protected 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.
 
- 
receiveMessage
protected 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.
 
 - 
 
 -