📄 actionhandler.java
字号:
package org.jbpm.delegation;
/**
* is the delegation-interface for the execution of process-initiated actions.
* <p>Interactions are used to communicate with the existing infrastructure in an organisation.
* The {@link ActionContext} allows the ActionHandler-developer to access all information
* about the process instance. The action is executed within the jBpm-components. If the
* components are deployed on a J2EE-container, this implies that the action is executed
* within a J2EE-container so by instantiating an javax.naming.InitialContext without
* constructor-parameters, the ActionHandler-developer can use all J2EE technologies to
* communicate with the existing infrastructure in the organisation.
* </p>
*
* <p>Examples of actions that could be done in an ActionHandler :
* <ul>
* <li>DB-query of update</li>
* <li>Sending an email</li>
* <li>Calling one or more web-services</li>
* <li>Interacting with an ERP-package over JCA</li>
* <li>Sending an EDI-message</li>
* <li>Putting a message on an enterprise service bus</li>
* <li>...</li>
* </ul>
*/
public interface ActionHandler {
/**
* implements the process-initiated action.
* @param executionContext is the object that provides access to the execution-context of the
* process-instance for which this actionhandler is executed.
*/
void execute( ExecutionContext executionContext );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -