|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This context allows to abort the current execution flow and pass control to a provided continuation service. The continuation service will
be rendered on the current and subsequent request until it explicitly passes control back using ContinuationContext.finish(). This
will end the continuation and restore control back.
| Method Summary | |
boolean |
isRunning()
Returns whether a continuation is already registered during this request and is ready to run. |
void |
runOnce(Service continuation)
Does same as start(Service), however after the first request passes through the continuation will return control
back to the starting component. |
void |
start(Service continuation)
Starts the continuation (by registering it and then throwing and exception, thus passing control to the continuation manager). |
| Method Detail |
public boolean isRunning()
start(Service).
public void start(Service continuation)
public void runOnce(Service continuation)
start(Service), however after the first request passes through the continuation will return control
back to the starting component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||