|
||||||||||
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(Object pSessionId)
Gets an existing session. |
IServer |
getServer()
Gets the associated IServer . |
abstract ISessionListener[] |
getSessionListeners()
Gets the list of known listeners. |
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 serverMethod Detail |
---|
public abstract ISession get(Object pSessionId)
pSessionId
- session identifier
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 IServer getServer()
IServer
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |