|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jaulp.auth.UserSessionContext
public class UserSessionContext
The Class UserSessionContext. Singleton object.
| Method Summary | |
|---|---|
void |
addSession(Session session)
Adds the session to the context. |
static SessionContext<java.lang.String> |
getInstance()
Returns the field instance. |
Session |
getSession(java.lang.String id)
Gets the session from the given id. |
void |
removeSession(java.lang.String id)
Removes the session from the context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SessionContext<java.lang.String> getInstance()
instance.
instance.public void addSession(Session session)
addSession in interface SessionContext<java.lang.String>session - the sessionSessionContext.addSession(net.sourceforge.jaulp.auth.interfaces.Session)public Session getSession(java.lang.String id)
getSession in interface SessionContext<java.lang.String>id - the id
SessionContext.getSession(Object)public void removeSession(java.lang.String id)
removeSession in interface SessionContext<java.lang.String>id - the id from the session to be removed.SessionContext.removeSession(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||