|
deegree 2.3 (2010/04/09 10:10 build-4-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(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 -
SessionStatusExceptionSession removeSessionByID(String id)
id -
void clearExpired()
|
deegree 2.3 (2010/04/09 10:10 build-4-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