asynchronouscommand.java
来自「workflow first jbpm」· Java 代码 · 共 26 行
JAVA
26 行
package org.jbpm.command;
import org.jbpm.JbpmContext;
/**
* provides extra configuration options for the execution of asynchronous commands.
* Plain commands can also be executed asynchronously.
*/
public class AsynchronousCommand implements Command {
private static final long serialVersionUID = 1L;
int retryCount = 1;
Command command;
public AsynchronousCommand(Command command) {
this.command = command;
}
public Object execute(JbpmContext jbpmContext) throws Exception {
throw new UnsupportedOperationException("sending any command over the message service is not yet supported");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?