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.String
PROPERTY_FILTER
The filter property describes the filter for receiving a message.static java.lang.String
PROPERTY_MESSAGE
The property message is the message object to be sent.static 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.-
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 void
execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.protected void
receiveMessage(MActivity activity, IInternalAccess instance, ProcessThread thread)
Receive a message.protected void
sendMessage(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(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.- Specified by:
execute
in interfaceIActivityHandler
- Overrides:
execute
in classDefaultActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
sendMessage
protected void sendMessage(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(MActivity activity, IInternalAccess instance, ProcessThread thread)
Receive a message.- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
-