|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.session.StoreBase
public abstract class StoreBase
Abstract implementation of the Store interface to support most of the functionality required by a Store.
| Field Summary | |
|---|---|
protected static java.lang.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 java.lang.String |
storeName
Name to register for this Store, used for logging. |
protected java.beans.PropertyChangeSupport |
support
The property change support for this component. |
| Fields inherited from interface org.apache.catalina.Lifecycle |
|---|
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
|---|---|
StoreBase()
|
|
| Method Summary | |
|---|---|
void |
addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener to this component. |
LifecycleListener[] |
findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle. |
java.lang.String |
getInfo()
Return the info for this Store. |
Manager |
getManager()
Return the Manager with which the Store is associated. |
java.lang.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(java.beans.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.Store |
|---|
clear, getSize, keys, load, remove, save |
| Field Detail |
|---|
protected static java.lang.String info
protected static java.lang.String storeName
protected boolean started
protected LifecycleSupport lifecycle
protected java.beans.PropertyChangeSupport support
protected StringManager sm
protected Manager manager
| Constructor Detail |
|---|
public StoreBase()
| Method Detail |
|---|
public java.lang.String getInfo()
getInfo in interface Storepublic java.lang.String getStoreName()
public void setManager(Manager manager)
setManager in interface Storemanager - The newly associated Managerpublic Manager getManager()
getManager in interface Storepublic void addLifecycleListener(LifecycleListener listener)
addLifecycleListener in interface Lifecyclelistener - The listener to addpublic LifecycleListener[] findLifecycleListeners()
findLifecycleListeners in interface Lifecyclepublic void removeLifecycleListener(LifecycleListener listener)
removeLifecycleListener in interface Lifecyclelistener - The listener to addpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface Storelistener - a value of type 'PropertyChangeListener'public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface Storelistener - The listener to removepublic void processExpires()
public void start()
throws LifecycleException
configure(),
and before any of the public methods of the component are utilized.
start in interface LifecycleLifecycleException - if this component detects a fatal error
that prevents this component from being used
public void stop()
throws LifecycleException
stop in interface LifecycleLifecycleException - if this component detects a fatal error
that needs to be reported
|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||