public class SessionContextManager extends Object
Each session is identified by the session id.
| Constructor and Description |
|---|
SessionContextManager()
Creates a new session context manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewSessionContext(String sessionId,
SessionContext context)
Adds new session context for the given session id.
|
void |
destroyAllSessions()
Destroys all sessions.
|
void |
destroySessionContextWithSessionId(String sessionId)
Destroy session context with given id.
|
SessionContext |
getSessionContextWithSessionId(String sessionId)
Gets session context related with given session id.
|
public SessionContextManager()
public void addNewSessionContext(String sessionId, SessionContext context)
sessionId - session idcontext - session contextpublic SessionContext getSessionContextWithSessionId(String sessionId)
sessionId - session idpublic void destroySessionContextWithSessionId(String sessionId)
sessionId - session idpublic void destroyAllSessions()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.