|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.session.SessionManager
This class holds information about all the UserSession objects in use currently. This may be used as an administration tool.
| Constructor Summary | |
SessionManager()
|
|
| Method Summary | |
static void |
addSession(UserSession s)
Adds a UserSession. |
static UserSession |
getSession(String sessionId)
Returns the UserSession object for a sessionId. |
static UserSession[] |
getSessions()
Returns an array of all the UserSession objects in use. |
static void |
removeSession(UserSession s)
Removes a UserSession. |
static void |
startGarbageCollectionOfIdleComponents()
This will perform garbage collection of idle components. |
static void |
stopGarbageCollectionOfIdleComponents()
This stops the Thread that was started by the startGarbageCollectionOfIdleComponents() method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionManager()
| Method Detail |
public static void addSession(UserSession s)
s - The UserSession.public static void removeSession(UserSession s)
s - The UserSession.public static UserSession[] getSessions()
public static UserSession getSession(String sessionId)
sessionId - The id identifying a UserSession.
public static void startGarbageCollectionOfIdleComponents()
public static void stopGarbageCollectionOfIdleComponents()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||