org.apache.geronimo.jetty6.cluster
Class ClusteredSessionManager

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

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


Nested Class Summary
 class ClusteredSessionManager.ClusteredSession
           
 
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
org.mortbay.jetty.servlet.AbstractSessionManager.NullSessionContext, org.mortbay.jetty.servlet.AbstractSessionManager.Session, org.mortbay.jetty.servlet.AbstractSessionManager.SessionIf
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.AbstractSessionManager
__distantFuture, _context, _dftMaxIdleSecs, _httpOnly, _loader, _maxCookieAge, _maxSessions, _minSessions, _nodeIdInSessionId, _refreshCookieAge, _secureCookies, _sessionAttributeListeners, _sessionCookie, _sessionDomain, _sessionHandler, _sessionIdManager, _sessionListeners, _sessionPath, _sessionURL, _sessionURLPrefix
 
Fields inherited from interface org.mortbay.jetty.SessionManager
__DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionURL, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionPathProperty, __SessionURLProperty
 
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
access, addEventListener, addSession, clearEventListeners, doStart, doStop, getClusterId, getHttpOnly, getHttpSession, getIdManager, getMaxCookieAge, getMaxInactiveInterval, getMaxSessions, getMetaManager, getMinSessions, getNodeId, getRefreshCookieAge, getSecureCookies, getSessionCookie, getSessionCookie, getSessionDomain, getSessionHandler, getSessionPath, getSessionURL, getSessionURLPrefix, isNodeIdInSessionId, isUsingCookies, isValid, newHttpSession, removeEventListener, removeSession, removeSession, resetStats, setHttpOnly, setIdManager, setMaxCookieAge, setMaxInactiveInterval, setMetaManager, setNodeIdInSessionId, setRefreshCookieAge, setSecureCookies, setSessionCookie, setSessionDomain, setSessionHandler, setSessionPath, setSessionURL, setUsingCookies
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 

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)
Specified by:
complete in interface org.mortbay.jetty.SessionManager
Overrides:
complete in class org.mortbay.jetty.servlet.AbstractSessionManager

addSession

protected void addSession(org.mortbay.jetty.servlet.AbstractSessionManager.Session session)
Specified by:
addSession in class org.mortbay.jetty.servlet.AbstractSessionManager

removeSession

protected void removeSession(String idInCluster)
Specified by:
removeSession in class org.mortbay.jetty.servlet.AbstractSessionManager

getSession

public org.mortbay.jetty.servlet.AbstractSessionManager.Session getSession(String idInCluster)
Specified by:
getSession in class org.mortbay.jetty.servlet.AbstractSessionManager

getSessions

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

getSessionMap

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

invalidateSessions

protected void invalidateSessions()
Specified by:
invalidateSessions in class org.mortbay.jetty.servlet.AbstractSessionManager


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.