net.wotonomy.web
Class WOServletSessionStore
java.lang.Object
net.wotonomy.web.WOSessionStore
net.wotonomy.web.WOServletSessionStore
public class WOServletSessionStore
- extends WOSessionStore
An implementation of WOSessionStore that stores WOSessions
inside of HttpSessions, to take advantage of the servlet
containers built-in distribution capabilities.
- Version:
- $Revision: 905 $
- Author:
- michael@mpowers.net, $Author: cgruber $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOServletSessionStore
public WOServletSessionStore()
removeSessionWithID
public WOSession removeSessionWithID(java.lang.String sessionID)
- This implementation currently does nothing and returns null, as we rely on the
servlet container to dispose of the HttpSession which contains our WOSession.
- Specified by:
removeSessionWithID
in class WOSessionStore
restoreSessionWithID
public WOSession restoreSessionWithID(java.lang.String sessionID,
WORequest aRequest)
- Returns the WOSession for the specified ID from the store.
The sessionID parameter is ignored, and the session is removed from
the store until saveSessionForContext is called.
- Specified by:
restoreSessionWithID
in class WOSessionStore
saveSessionForContext
public void saveSessionForContext(WOContext context)
- Places the context's session into the store.
- Specified by:
saveSessionForContext
in class WOSessionStore
Copyright © 2006 null. All Rights Reserved.