org.apache.cocoon.components.flow
Class ContinuationsManagerImpl.WebContinuationsHolder
java.lang.Object
org.apache.cocoon.components.flow.ContinuationsManagerImpl.WebContinuationsHolder
- All Implemented Interfaces:
- EventListener, HttpSessionBindingListener
- Enclosing class:
- ContinuationsManagerImpl
protected class ContinuationsManagerImpl.WebContinuationsHolder
- extends Object
- implements HttpSessionBindingListener
A holder for WebContinuations. When bound to session notifies the
continuations manager of session invalidation.
For thread-safe access you have to synchronize on the Map holder
!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContinuationsManagerImpl.WebContinuationsHolder
protected ContinuationsManagerImpl.WebContinuationsHolder()
get
public WebContinuation get(Object id)
addContinuation
public void addContinuation(WebContinuation wk)
removeContinuation
public void removeContinuation(WebContinuation wk)
contains
public boolean contains(String continuationId)
contains
public boolean contains(WebContinuation wk)
valueBound
public void valueBound(HttpSessionBindingEvent event)
- Specified by:
valueBound
in interface HttpSessionBindingListener
valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)
- Specified by:
valueUnbound
in interface HttpSessionBindingListener
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.