sunlabs.brazil.session
public class PropertiesCacheManager extends CacheManager implements Handler, Serializable
Classes that are not properties files may implement "Saveable", which has the store() and load() methods from Properties; they are expected to generate and restore the state of the object in Properties format.
This handler/sessionManager can take an ascii-readable "snapshot" of the server state, for all state that is a java properties object (or implements Saveable). It doesn't perturb the existing state.
Properties:
Version: %V% PropertiesCacheManager.java
Nested Class Summary | |
---|---|
interface | PropertiesCacheManager.Saveable
This interface allows for persistence of non-properties session objects.
|
Method Summary | |
---|---|
protected Object | getObj(Object session, Object ident)
If we have deferred session loading, check here and get it! |
boolean | init(Server server, String prefix) |
boolean | respond(Request request) |