|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.server.AbstractSessionManager
public abstract class AbstractSessionManager
A AbstractSessionManager defines the access to the server-side
session handling.
| Constructor Summary | |
|---|---|
protected |
AbstractSessionManager(IServer pServer)
Creates a new instance of AbstractSessionManager for a specific
IServer. |
| Method Summary | |
|---|---|
abstract void |
addSessionListener(ISessionListener pListener)
Adds an ISessionListener session listener to the list of known listeners. |
abstract ISession |
get(java.lang.Object pSessionId)
Gets an existing session. |
IServer |
getServer()
Gets the associated IServer. |
abstract ISessionListener[] |
getSessionListeners()
Gets the list of known listeners. |
abstract boolean |
isAvailable(java.lang.Object pSessionId)
Gets whether the given session identifier is available. |
abstract void |
removeSessionListener(ISessionListener pListener)
Removes an ISessionListener from the list of known listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSessionManager(IServer pServer)
AbstractSessionManager for a specific
IServer.
pServer - the server| Method Detail |
|---|
public abstract ISession get(java.lang.Object pSessionId)
pSessionId - session identifier
java.lang.SecurityException - if the session is expired or pSessionId is nullpublic abstract void addSessionListener(ISessionListener pListener)
ISessionListener session listener to the list of known listeners.
pListener - te session listener to addpublic abstract void removeSessionListener(ISessionListener pListener)
ISessionListener from the list of known listeners.
pListener - the session listener to removepublic abstract ISessionListener[] getSessionListeners()
ISessionListener or an empty listpublic abstract boolean isAvailable(java.lang.Object pSessionId)
pSessionId - session identifier
true if session is availablepublic IServer getServer()
IServer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||