| org.apache.cocoon.components.flow.ContinuationsManager
All known Subclasses: org.apache.cocoon.components.flow.ContinuationsManagerImpl,
ContinuationsManager | public interface ContinuationsManager (Code) | | The interface of the Continuations manager.
The continuation manager maintains a forrest of
WebContinuation trees. Each tree defines the flow of control for a
user within the application.
A WebContinuation is created for a continuation object
from the scripting language used. A continuation object in the
implementation of the scripting language is an opaque object
here. It is only stored inside the WebContinuation ,
without being interpreted in any way.
author: Ovidiu Predescu since: March 19, 2002 See Also: WebContinuation version: CVS $Id: ContinuationsManager.java 433543 2006-08-22 06:22:54Z crossley $ |
createWebContinuation | public WebContinuation createWebContinuation(Object kont, WebContinuation parentKont, int timeToLive, String interpreterId, ContinuationsDisposer disposer)(Code) | | Create a WebContinuation object given a native
continuation object and its parent. If the parent continuation is
null, the WebContinuation returned becomes the root
of a tree in the forrest.
Parameters: kont - an Object value Parameters: parentKont - a WebContinuation value Parameters: timeToLive - an int value indicating how longin seconds this continuation will live in the server if notaccessed Parameters: interpreterId - id of interpreter invoking continuation creation Parameters: disposer - a ContinuationsDisposer instance to called when the continuation gets cleaned up. a WebContinuation value See Also: WebContinuation |
displayAllContinuations | public void displayAllContinuations()(Code) | | Prints debug information about all web continuations into the log file.
See Also: WebContinuation.display |
getWebContinuationsDataBeanList | public List getWebContinuationsDataBeanList()(Code) | | Get a list of all continuations as WebContinuationDataBean objects.
|
invalidateWebContinuation | public void invalidateWebContinuation(WebContinuation k)(Code) | | Invalidates a WebContinuation . This effectively
means that the continuation object associated with it will no
longer be accessible from Web pages. Invalidating a
WebContinuation invalidates all the
WebContinuation s which are children of it.
Parameters: k - a WebContinuation value |
lookupWebContinuation | public WebContinuation lookupWebContinuation(String id, String interpreterId)(Code) | | Given a WebContinuation id, retrieve the associated
WebContinuation object.
Parameters: id - a String value Parameters: interpreterId - Id of an interpreter that queries for the continuation a WebContinuation object, null if no suchWebContinuation could be found. Also null if WebContinuation was found but interpreter id does not match the one that the continuation was initialy created for. |
|
|