java.lang.Object
com.lutris.appserver.server.session.persistent.PersistentSessionUserTable
- All Implemented Interfaces:
- com.lutris.appserver.server.session.StandardSessionUserTable
- public class PersistentSessionUserTable
- extends java.lang.Object
- implements com.lutris.appserver.server.session.StandardSessionUserTable
Table used by StandardSessionManager to cross reference User
objects and sessions.
- Version:
- $Revision: 1.4.14.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbName
java.lang.String dbName
PersistentSessionUserTable
public PersistentSessionUserTable(com.lutris.util.Config config)
throws com.lutris.util.ConfigException
add
public void add(java.lang.String sessionKey,
com.lutris.appserver.server.user.User user)
- Add a session key to the user to session xref table.
- Specified by:
add in interface com.lutris.appserver.server.session.StandardSessionUserTable
remove
public void remove(java.lang.String sessionKey,
com.lutris.appserver.server.user.User user)
- Remove a session from the user to session mapping table.
If the session is not it the table, it is ignored.
- Specified by:
remove in interface com.lutris.appserver.server.session.StandardSessionUserTable
remove
public void remove(java.lang.String sessionKey)
- Remove a session from the user to session mapping table.
If the session is not it the table, it is ignored.
- Specified by:
remove in interface com.lutris.appserver.server.session.StandardSessionUserTable
numSessions
public int numSessions(com.lutris.appserver.server.user.User user)
throws com.lutris.appserver.server.session.SessionException
- Get the number of sessions for a user.
- Specified by:
numSessions in interface com.lutris.appserver.server.session.StandardSessionUserTable
getSessionKeys
public java.util.Enumeration getSessionKeys(com.lutris.appserver.server.user.User user)
throws com.lutris.appserver.server.session.SessionException
- Returns the session keys associated with a particular user.
- Specified by:
getSessionKeys in interface com.lutris.appserver.server.session.StandardSessionUserTable
shutdown
public void shutdown()
- Shutdown this session user table as required. The session
user table should not be used after this method has been called
- Specified by:
shutdown in interface com.lutris.appserver.server.session.StandardSessionUserTable