|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sessionEnhydra.persistent.PersistentSessionUserTable
public class PersistentSessionUserTable
Table used by StandardSessionManager to cross reference User
objects and sessions.
Constructor Summary | |
---|---|
PersistentSessionUserTable(com.lutris.util.Config config)
|
Method Summary | |
---|---|
void |
add(java.lang.String sessionKey,
com.lutris.appserver.server.user.User user)
Add a session key to the user to session xref table. |
java.util.Enumeration |
getSessionKeys(com.lutris.appserver.server.user.User user)
Returns the session keys associated with a particular user. |
int |
numSessions(com.lutris.appserver.server.user.User user)
Get the number of sessions for a user. |
void |
remove(java.lang.String sessionKey)
Remove a session from the user to session mapping table. |
void |
remove(java.lang.String sessionKey,
com.lutris.appserver.server.user.User user)
Remove a session from the user to session mapping table. |
void |
shutdown()
Shutdown this session user table as required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistentSessionUserTable(com.lutris.util.Config config) throws com.lutris.util.ConfigException
config
- configuration options for this table - currently ignored.
com.lutris.util.ConfigException
Method Detail |
---|
public void add(java.lang.String sessionKey, com.lutris.appserver.server.user.User user)
add
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
session
- The session key.user
- the user to associated with the session key.public void remove(java.lang.String sessionKey, com.lutris.appserver.server.user.User user)
remove
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
session
- The session object, with the user already
filled in.public void remove(java.lang.String sessionKey)
remove
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
session
- The session object, with the user already
filled in.public int numSessions(com.lutris.appserver.server.user.User user) throws com.lutris.appserver.server.session.SessionException
numSessions
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
user
- The user object to check for.
com.lutris.appserver.server.session.SessionException
- if an error occurs.public java.util.Enumeration getSessionKeys(com.lutris.appserver.server.user.User user) throws com.lutris.appserver.server.session.SessionException
getSessionKeys
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
user
- The user object to check for.
com.lutris.appserver.server.session.SessionException
- if an error occurs.public void shutdown()
shutdown
in interface com.lutris.appserver.server.sessionEnhydra.StandardSessionUserTable
|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |