org.apache.catalina.session
public abstract class StoreBase extends Object implements Lifecycle, Store
Version: $Revision: 898379 $, $Date: 2010-01-12 16:39:19 +0100 (Tue, 12 Jan 2010) $
| Field Summary | |
|---|---|
| protected static String | info
The descriptive information about this implementation. |
| protected LifecycleSupport | lifecycle
The lifecycle event support for this component. |
| protected Manager | manager
The Manager with which this JDBCStore is associated. |
| protected StringManager | sm
The string manager for this package. |
| protected boolean | started
Has this component been started yet? |
| protected static String | storeName
Name to register for this Store, used for logging. |
| protected PropertyChangeSupport | support
The property change support for this component. |
| Method Summary | |
|---|---|
| void | addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component.
|
| void | addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener to this component.
|
| LifecycleListener[] | findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle. |
| String | getInfo()
Return the info for this Store. |
| Manager | getManager()
Return the Manager with which the Store is associated. |
| String | getStoreName()
Return the name for this Store, used for logging. |
| void | processExpires()
Called by our background reaper thread to check if Sessions
saved in our store are subject of being expired. |
| void | removeLifecycleListener(LifecycleListener listener)
Remove a lifecycle event listener from this component.
|
| void | removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener from this component.
|
| void | setManager(Manager manager)
Set the Manager with which this Store is associated.
|
| void | start()
Prepare for the beginning of active use of the public methods of this
component. |
| void | stop()
Gracefully terminate the active use of the public methods of this
component. |
Parameters: listener The listener to add
Parameters: listener a value of type 'PropertyChangeListener'
Parameters: listener The listener to add
Parameters: listener The listener to remove
Parameters: manager The newly associated Manager
configure(),
and before any of the public methods of the component are utilized.
Throws: LifecycleException if this component detects a fatal error that prevents this component from being used
Throws: LifecycleException if this component detects a fatal error that needs to be reported