|
|||||||||
| Home >> All >> recoin >> system >> [ session overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
recoin.system.session
Class SessionManager

java.lang.Objectrecoin.system.session.SessionManager
- public class SessionManager
- extends java.lang.Object
The SessionManager is used to administrate multiple RetrievalSession objects which are stored in a SessionQueue.
- Version:
- 0.2.9
| Field Summary | |
(package private) static org.apache.log4j.Logger |
logger
The logger for this class. |
private SessionQueue |
queue
The SessionQueue where all active sessions are stored. |
private recoin.system.RuntimeManager |
runtimeManager
The RuntimeManager of the application. |
| Constructor Summary | |
SessionManager(recoin.system.RuntimeManager rManager)
Creates a new SessionManager with the specified RuntimeManager and layers. |
|
| Method Summary | |
RetrievalSession |
createSession()
Creates and returns a new RetrievalSession. |
int |
generateSessionID()
Returns a random number between 1 and 100. |
recoin.group.ModuleGroup |
getModuleGroup(java.lang.String name)
Returns a reference to the ModuleGroup with the specified name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
logger
static org.apache.log4j.Logger logger
- The logger for this class.
runtimeManager
private recoin.system.RuntimeManager runtimeManager
- The RuntimeManager of the application.
queue
private SessionQueue queue
- The SessionQueue where all active sessions are stored.
| Constructor Detail |
SessionManager
public SessionManager(recoin.system.RuntimeManager rManager)
- Creates a new SessionManager with the specified RuntimeManager and layers.
| Method Detail |
createSession
public RetrievalSession createSession()
- Creates and returns a new RetrievalSession.
getModuleGroup
public recoin.group.ModuleGroup getModuleGroup(java.lang.String name)
- Returns a reference to the ModuleGroup with the specified name.
generateSessionID
public int generateSessionID()
- Returns a random number between 1 and 100. This method should be used
to generate a unique idenitifier for a session. At the moment it is
not garanteed that the number is unique.
|
|||||||||
| Home >> All >> recoin >> system >> [ session overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
recoin.system.session.SessionManager