|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@InterceptorBinding
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface CompleteTask
Annotation signaling that a task is to be completed after the annotated
method returns. Requires that the current unit of work (conversation
or request) is associated with a task. This has the same effect as
calling BusinessProcess.completeTask().
@CompleteTask
public void respond(String response, Message message) {
message.setResponse(response);
}
If the annotated method throws an exception, the task is not completed.
BusinessProcess.startTask(String),
BusinessProcess.completeTask()| Optional Element Summary | |
|---|---|
boolean |
endConversation
Specifies whether the current conversation should be ended. |
public abstract boolean endConversation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||