|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionManager
This exception shall be thrown when a session(ID) will be used that has been expired.
Method Summary | |
---|---|
void |
addSession(Session session)
adds a session to the session managment. the session will be stored within two lists. one addresses the session with its ID the other with its user name. |
void |
clearExpired()
removes all sessions that are expired from the session management |
Session |
getSessionByID(java.lang.String id)
returns the session identified by its ID. |
Session |
getSessionByUser(java.lang.String user)
returns the session assigned to the passed user. |
Session |
removeSessionByID(java.lang.String id)
removes a session identified by its ID from the session managment. the removed session will be returned. |
Method Detail |
---|
Session getSessionByID(java.lang.String id) throws SessionStatusException
id
-
SessionStatusException
Session getSessionByUser(java.lang.String user) throws SessionStatusException
user
-
SessionStatusException
void addSession(Session session) throws SessionStatusException
session
-
SessionStatusException
Session removeSessionByID(java.lang.String id)
id
-
void clearExpired()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org