Method Summary |
|
public void | addLifecycleListener(LifecycleListener listener) Add a lifecycle event listener to this component. |
public Session | createSession() Construct and return a new session object, based on the default
settings specified by this Manager's properties. |
public LifecycleListener[] | findLifecycleListeners() Get the lifecycle listeners associated with this lifecycle. |
public int | getCheckInterval() Return the check interval (in seconds) for this Manager. |
public String | getInfo() Return descriptive information about this Manager implementation and
the corresponding version number, in the format
<description>/<version> . |
public int | getMaxActiveSessions() Return the maximum number of active Sessions allowed, or -1 for
no limit. |
public String | getName() Return the descriptive short name of this Manager implementation. |
public String | getPathname() Return the session persistence pathname, if any. |
public void | load() Load any currently active sessions that were previously unloaded
to the appropriate persistence mechanism, if any. |
public void | propertyChange(PropertyChangeEvent event) Process property change events from our associated Context. |
public void | removeLifecycleListener(LifecycleListener listener) Remove a lifecycle event listener from this component. |
public void | run() The background thread that checks for session timeouts and shutdown. |
public void | setCheckInterval(int checkInterval) Set the check interval (in seconds) for this Manager. |
public void | setContainer(Container container) Set the Container with which this Manager has been associated. |
public void | setMaxActiveSessions(int max) Set the maximum number of actives Sessions allowed, or -1 for
no limit. |
public void | setPathname(String pathname) Set the session persistence pathname to the specified value. |
public void | start() Prepare for the beginning of active use of the public methods of this
component. |
public void | stop() Gracefully terminate the active use of the public methods of this
component. |
public void | unload() Save any currently active sessions in the appropriate persistence
mechanism, if any. |