Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.command
Interface CommandService

All Known Implementing Classes:
  CommandServiceImpl

    public interface CommandService

Provides jBPM engine services.

Author:
  Jim Rigsbee, Tom Baeyens

Method Summary
`java.lang.Object` | `execute(Command command)` is the session facade that takes commands and executes them.

Method Detail

### execute

    java.lang.Object execute(Command command)

  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
  Returns:
    an object. The types of objects is determined by the command implementation. See those docs for more details on the return object.
  Throws:
    `JbpmException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD