org.apache.geronimo.jetty6.cluster
Class ClusteredSessionManager

java.lang.Object
  extended by org.mortbay.jetty.servlet.AbstractSessionManager
      extended by org.apache.geronimo.jetty6.cluster.ClusteredSessionManager
All Implemented Interfaces:
Serializable, org.mortbay.jetty.servlet.SessionManager, org.mortbay.util.LifeCycle

public class ClusteredSessionManager
extends org.mortbay.jetty.servlet.AbstractSessionManager

See Also:
Serialized Form

Nested Class Summary
 class ClusteredSessionManager.ClusteredSession
           
 
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
org.mortbay.jetty.servlet.AbstractSessionManager.Session
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
__allSessions, __distantFuture, _crossContextSessionIDs, _handler, _httpOnly, _invalidateGlobal, _maxSessions, _minSessions, _random, _secureCookies, _sessionAttributeListeners, _sessionListeners, _sessions
 
Fields inherited from interface org.mortbay.jetty.servlet.SessionManager
__MaxAge, __SessionCookie, __SessionDomain, __SessionPath, __SessionURL, __SessionUrlPrefix
 
Constructor Summary
ClusteredSessionManager(SessionManager sessionManager)
           
 
Method Summary
protected  void addSession(org.mortbay.jetty.servlet.AbstractSessionManager.Session session)
           
 void complete(HttpSession session)
           
 org.mortbay.jetty.servlet.AbstractSessionManager.Session getSession(String idInCluster)
           
 Map getSessionMap()
           
 int getSessions()
           
protected  void invalidateSessions()
           
protected  org.mortbay.jetty.servlet.AbstractSessionManager.Session newSession(HttpServletRequest request)
           
protected  void removeSession(String idInCluster)
           
 
Methods inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
addEventListener, getCrossContextSessionIDs, getHttpOnly, getHttpSession, getMaxInactiveInterval, getMaxSessions, getMinSessions, getScavengePeriod, getSecureCookies, getSessionCookie, getUseRequestedId, getWorkerName, initialize, isInvalidateGlobal, isStarted, newHttpSession, removeEventListener, resetStats, setCrossContextSessionIDs, setHttpOnly, setInvalidateGlobal, setMaxInactiveInterval, setScavengePeriod, setSecureCookies, setUseRequestedId, setWorkerName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredSessionManager

public ClusteredSessionManager(SessionManager sessionManager)
Method Detail

newSession

protected org.mortbay.jetty.servlet.AbstractSessionManager.Session newSession(HttpServletRequest request)
Specified by:
newSession in class org.mortbay.jetty.servlet.AbstractSessionManager

complete

public void complete(HttpSession session)

addSession

protected void addSession(org.mortbay.jetty.servlet.AbstractSessionManager.Session session)

removeSession

protected void removeSession(String idInCluster)

getSession

public org.mortbay.jetty.servlet.AbstractSessionManager.Session getSession(String idInCluster)

getSessions

public int getSessions()
Overrides:
getSessions in class org.mortbay.jetty.servlet.AbstractSessionManager

getSessionMap

public Map getSessionMap()
Overrides:
getSessionMap in class org.mortbay.jetty.servlet.AbstractSessionManager

invalidateSessions

protected void invalidateSessions()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.