|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StandardSessionUserTable
Table used by StandardSessionManager to cross reference User
objects and sessions.
N.B. It is assumed that this interface is only used by StandardSessionManager and that it is responsible for providing high level locks instead of synchronizing
BasicSessionUserTable
,
PagedSessionUserTable
,
com.lutris.appserver.server.sessionEnhydra.persistent.PersistentSessionUserTable
Method Summary | |
---|---|
void |
add(java.lang.String sessionKey,
User user)
Add a session key to the user to session xref table. |
java.util.Enumeration |
getSessionKeys(User user)
Returns the session keys associated with a particular user. |
int |
numSessions(User user)
Get the number of sessions for a user. |
void |
remove(java.lang.String sessionKey)
Removes all references to a session from the user session table. |
void |
remove(java.lang.String sessionKey,
User user)
Remove a session from the user to session mapping table. |
void |
shutdown()
Shutdown this session user table as required. |
Method Detail |
---|
void add(java.lang.String sessionKey, User user) throws SessionException
session
- The session key.user
- the user to associated with the session key.
SessionException
- if an error occurs.void remove(java.lang.String sessionKey, User user) throws SessionException
sessionKey
- The session object, with the user already
filled in.
SessionException
- if an error occurs.void remove(java.lang.String sessionKey) throws SessionException
sessionKey
- The session key.
SessionException
int numSessions(User user) throws SessionException
user
- The user object to check for.
SessionException
- if an error occurs.java.util.Enumeration getSessionKeys(User user) throws SessionException
user
- The user object to check for.
SessionException
- if an error occurs.void shutdown()
|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |