org.apache.catalina
public interface Store
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Method Summary | |
---|---|
void | addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener to this component.
|
void | clear()
Remove all Sessions from this Store. |
String | getInfo()
Return descriptive information about this Store implementation and
the corresponding version number, in the format
<description>/<version> . |
Manager | getManager()
Return the Manager instance associated with this Store. |
int | getSize()
Return the number of Sessions present in this Store.
|
String[] | keys()
Return an array containing the session identifiers of all Sessions
currently saved in this Store. |
Session | load(String id)
Load and return the Session associated with the specified session
identifier from this Store, without removing it. |
void | remove(String id)
Remove the Session with the specified session identifier from
this Store, if present. |
void | removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener from this component.
|
void | save(Session session)
Save the specified Session into this Store. |
void | setManager(Manager manager)
Set the Manager associated with this Store.
|
Parameters: listener The listener to add
<description>/<version>
.Throws: IOException if an input/output error occurs
Throws: IOException if an input/output error occurred
null
.
Parameters: id Session identifier of the session to load
Throws: ClassNotFoundException if a deserialization error occurs IOException if an input/output error occurs
Parameters: id Session identifier of the Session to be removed
Throws: IOException if an input/output error occurs
Parameters: listener The listener to remove
Parameters: session Session to be saved
Throws: IOException if an input/output error occurs
Parameters: manager The Manager which will use this Store.