|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wotonomy.web.WOSessionStore
public abstract class WOSessionStore
An abstract class defining the requirements for persisting session state across user transactions. Used by WOApplication to persist sessions between requests.
Constructor Summary | |
---|---|
WOSessionStore()
|
Method Summary | |
---|---|
void |
checkInSessionForContext(WOContext aContext)
Called by WOApplication after the request-response cycle has ended. |
WOSession |
checkOutSessionWithID(java.lang.String sessionID,
WORequest aRequest)
Returns the session with the specified id for the specified request, or null if none exist. |
abstract WOSession |
removeSessionWithID(java.lang.String sessionID)
Removes the WOSession for the specified ID from the store and returns it. |
abstract WOSession |
restoreSessionWithID(java.lang.String sessionID,
WORequest aRequest)
Returns the WOSession for the specified ID from the store. |
abstract void |
saveSessionForContext(WOContext context)
Places the context's session into the store. |
static WOSessionStore |
serverSessionStore()
Returns the default session store used by WOApplication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WOSessionStore()
Method Detail |
---|
public static WOSessionStore serverSessionStore()
public final void checkInSessionForContext(WOContext aContext)
public final WOSession checkOutSessionWithID(java.lang.String sessionID, WORequest aRequest)
public abstract WOSession removeSessionWithID(java.lang.String sessionID)
public abstract WOSession restoreSessionWithID(java.lang.String sessionID, WORequest aRequest)
public abstract void saveSessionForContext(WOContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |