|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.common.context.SessionContextManager
Constructor Summary | |
SessionContextManager(boolean init)
|
Method Summary | |
SessionContext |
createSessionContext(java.lang.String id)
create a new session context with the specified Id. |
static SessionContextManager |
getManager()
|
SessionContext |
getSessionContext()
return the session context associated with the currentThread. |
SessionContext |
getSessionContext(java.lang.String id)
return the session context with the specified id. return null if not found |
void |
invalidateSession(java.lang.String id)
|
void |
joinSessionContext(java.lang.String id)
Join the current thread to the SessionContext with the specified id. |
void |
leaveSessionContext()
After a thread has use a session context. |
protected SessionContext |
realCreateSessionContext(java.lang.String id)
|
static void |
registerManager(SessionContextManager newManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SessionContextManager(boolean init)
Method Detail |
public static final void registerManager(SessionContextManager newManager)
public static final SessionContextManager getManager()
public SessionContext getSessionContext(java.lang.String id)
getSessionContext
in interface SessionContextService
public SessionContext getSessionContext()
getSessionContext
in interface SessionContextService
public SessionContext createSessionContext(java.lang.String id)
createSessionContext
in interface SessionContextService
protected SessionContext realCreateSessionContext(java.lang.String id)
public void joinSessionContext(java.lang.String id)
joinSessionContext
in interface SessionContextService
public void invalidateSession(java.lang.String id)
invalidateSession
in interface SessionContextService
public void leaveSessionContext()
leaveSessionContext
in interface SessionContextService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |