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
org.araneaframework.framework.ContinuationContext.finish . This
will end the continuation and restore control back.
author: "Toomas Römer" author: Jevgeni Kabanov (ekabanov at araneaframework dot org)
Method Summary
public boolean
isRunning() Returns whether a continuation is already registered during this request and is ready to run.
start(Service continuation) Starts the continuation (by registering it and then throwing and exception, thus passing control to the continuation manager).
Returns whether a continuation is already registered during this request and is ready to run. In such a case it is unsafe
to override the continuation using
ContinuationManagerContext.start(Service) .
Does same as
ContinuationManagerContext.start(Service) , however after the first request passes through the continuation will return control
back to the starting component.