| org.jbpm.command.CommandService
All known Subclasses: org.jbpm.command.impl.CommandServiceImpl, org.jbpm.ejb.impl.CommandServiceBean,
CommandService | public interface CommandService (Code) | | Provides jBPM engine services.
author: Jim Rigsbee, Tom Baeyens |
Method Summary | |
public Object | execute(Command command) is the session facade that takes commands and executes them. |
execute | public Object execute(Command command)(Code) | | is the session facade that takes commands and executes them. The CommandService
is responsible for creating or obtaining the JbpmContext. The JbpmContext
will be passed to the commands as a parameter. In a transactional environment,
the execute method demarcates a transaction. The command can be executed remotely and/or
asynchronously.
Parameters: command - engine command to execute an object. The types of objects is determined by the command implementation. See those docs for more details on the return object. throws: JbpmException - |
|
|