org.apache.cocoon.components.flow
Class ContinuationsManagerImpl.HolderAwareWebContinuation
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.flow.WebContinuation
org.apache.cocoon.components.flow.ContinuationsManagerImpl.HolderAwareWebContinuation
- All Implemented Interfaces:
- Comparable, LogEnabled
- Enclosing class:
- ContinuationsManagerImpl
- protected class ContinuationsManagerImpl.HolderAwareWebContinuation
- extends WebContinuation
WebContinuation extension that holds also the information about the
holder. This information is needed to cleanup a proper holder after
continuation's expiration time.
| Methods inherited from class org.apache.cocoon.components.flow.WebContinuation |
detachFromParent, display, display, dispose, disposed, equals, getAttribute, getAttributeNames, getChildren, getContinuation, getContinuation, getId, getInterpreterId, getLastAccessTime, getParentContinuation, getTimeToLive, getUserObject, hasExpired, hashCode, interpreterMatches, removeAttribute, setAttribute, setUserObject, updateLastAccessTime |
ContinuationsManagerImpl.HolderAwareWebContinuation
public ContinuationsManagerImpl.HolderAwareWebContinuation(String id,
Object continuation,
WebContinuation parentContinuation,
int timeToLive,
String interpreterId,
ContinuationsDisposer disposer,
ContinuationsManagerImpl.WebContinuationsHolder continuationsHolder)
getContinuationsHolder
public ContinuationsManagerImpl.WebContinuationsHolder getContinuationsHolder()
compareTo
public int compareTo(Object other)
- Description copied from class:
WebContinuation
- Compares the expiration time of this instance with that of the
WebContinuation passed as argument.
Note: this class has a natural ordering that is
inconsistent with equals.
.
- Specified by:
compareTo in interface Comparable- Overrides:
compareTo in class WebContinuation
- Parameters:
other - an Object value, which should be a
WebContinuation instance
- Returns:
- an
int value
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.