|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.facade.interceptor.EJBCommandAPIInterceptor
public class EJBCommandAPIInterceptor
Constructor Summary | |
---|---|
EJBCommandAPIInterceptor(CommandAPI api)
|
Method Summary | ||
---|---|---|
|
execute(Command<T> command)
Executes a command deployed at common level or one available in bonita distribution. |
|
|
execute(Command<T> command,
ProcessDefinitionUUID processUUID)
Executes a command deployed at package level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EJBCommandAPIInterceptor(CommandAPI api)
Method Detail |
---|
public <T> T execute(Command<T> command) throws java.lang.Exception
CommandAPI
execute
in interface CommandAPI
command
- Command to execute
java.lang.Exception
- if an exception occurs during the command executionpublic <T> T execute(Command<T> command, ProcessDefinitionUUID processUUID) throws java.lang.Exception
CommandAPI
execute
in interface CommandAPI
command
- Command to executeprocessUUID
- UUID of the package in which the command was deployed (result of bar deployment)
java.lang.Exception
- if an exception occurs during the command execution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |