Activities
Activities
Activities are Java interfaces in the DSF API v2 that represent certain BPMN elements which can/need to specify a Java class as their Implementation value. Implementing Activity interfaces and registering them as Spring beans causes the DSF to execute the code provided by the implementation when the process execution reaches the corresponding flow element. The value for the Implementation field of BPMN elements expects the fully qualified class name:
org.package.myClassList of Activities
- ExecutionListener
- MessageEndEvent
- MessageIntermediateThrowEvent
- MessageSendTask
- ServiceTask
- UserTaskListener
ExecutionListener
ExecutionListener is the interface to be implemented for a class set as the Java implementation for Execution Listeners attached to certain flow elements.
MessageEndEvent
MessageEndEvent is the interface to be implemented for a class set as the Java implementation for Message End Events. It inherits from the MessageActivity interface which specifies additional methods specific to messaging.
MessageIntermediateThrowEvent
MessageIntermediateThrowEvent is the interface to be implemented for a class set as the Java implementation for Message Intermediate Throw Events. It inherits from the MessageActivity interface which specifies additional methods specific to messaging.
MessageSendTask
MessageSendTask is the interface to be implemented for a class set as the Java implementation for Message Send Tasks. It inherits from the MessageActivity interface which specifies additional methods specific to messaging.
ServiceTask
ServiceTask is the interface to be implemented for a class set as the Java implementation for Service Tasks.
UserTaskListener
ServiceTask is the interface to be implemented for a class set as the Java implementation for Service Tasks's Task Listener. Task Listeners have properties that separate them from Execution Listeners. More on Task Listeners in the guide on User Tasks in the DSF