|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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(String id)
returns the session identified by its ID. |
Session |
getSessionByUser(String user)
returns the session assigned to the passed user. |
Session |
removeSessionByID(String id)
removes a session identified by its ID from the session managment. the removed session will be returned. |
Method Detail |
---|
Session getSessionByID(String id) throws SessionStatusException
id
-
SessionStatusException
Session getSessionByUser(String user) throws SessionStatusException
user
-
SessionStatusException
void addSession(Session session) throws SessionStatusException
session
-
SessionStatusException
Session removeSessionByID(String id)
id
-
void clearExpired()
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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