org.jbpm.api.cmd
Interface CommandService


public interface CommandService

abstract extensible session facade. Developers can use this directly or extend one of the implementations with custom methods. Developers should be encouraged to use this interface as it will be kept more stable then direct usage of the API (which is still allowed). All the method implementations should be based on commands. Each of the method implementations will have a environment block. Then the command is executed and the environment is passed into the command.


Method Summary
<T> T
execute(Command<T> command)
           
 

Method Detail

execute

<T> T execute(Command<T> command)
Throws:
JbpmException - if command throws an exception.


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.