|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.barracuda.plankton.http.SessionManager
This class provides a convenient bridge to any sessions which are being managed/registered through Barracuda's SessionObjectRepository class (ie. all events that go through ApplicationGateway use this). You can use this class to get a handle to all the underlying sessions, to log an individual session out, or to log all sessions out.
Field Summary | |
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
SessionManager()
|
Method Summary | |
static SoftHashMap |
getAllSessions()
get a Map containing soft references to all the HttpSessions. |
static javax.servlet.http.HttpSession |
getSession(String sessionID)
allows you to look up a session by its unique identifier. |
static void |
invalidateAllSessions()
allows you to invalidate all sessions. |
static void |
invalidateSession()
allows you to invalidate a session associated with the current thread |
static void |
invalidateSession(String sessionID)
allows you to invalidate a session by its unique identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger logger
Constructor Detail |
public SessionManager()
Method Detail |
public static javax.servlet.http.HttpSession getSession(String sessionID)
public static SoftHashMap getAllSessions()
public static void invalidateSession()
public static void invalidateSession(String sessionID)
public static void invalidateAllSessions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |