|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Execution
Method Summary | |
---|---|
void |
beforeService()
Initializes thread environment before processing service |
Arguments |
getArguments()
Returns the original Arguments object passed to the task |
InstanceInfo |
getResult()
Finishes this execution and updates the Arguments object passed to the task. |
Invocation |
next()
Returns the next client-side invocation that must be performed. |
void |
setException(Throwable t)
Sets the exception thrown by the last invocation |
void |
setInvocationResult(Object[] ret)
Sets the result of the last invocation |
Method Detail |
---|
Arguments getArguments()
void setException(Throwable t)
t
- exception thrown by the last invocation returned by next()
void setInvocationResult(Object[] ret)
ret
- output arguments of the last invocation returned by next()
InstanceInfo getResult()
Invocation next() throws Exception
setInvocationResult(java.lang.Object[])
or setException(java.lang.Throwable)
must be called depending
on the result of this invocation.
Exception
- if something goes wrongvoid beforeService()
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |