|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionManager
This interface defines simple session handling interface. It defines a factory that keeps track of sessions.
| Method Summary | |
|---|---|
Object |
findSession(Object sessionId,
boolean create)
Finds existing session or creates new one if there is no existing session and create parameter is set to true. |
void |
removeSession(Object session)
This object removes existing session |
| Method Detail |
|---|
Object findSession(Object sessionId,
boolean create)
true. Session is found
based on sessionId object.
sessionId - object that represents the session. Usually a string extracted
from requestcreate - should new session be created if there is no existing session
true or null otherwise.void removeSession(Object session)
session - session to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||