org.apache.cocoon.forms
Class DefaultCacheManager
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.forms.DefaultCacheManager
- All Implemented Interfaces:
- CacheManager, Component, Configurable, Disposable, LogEnabled, Serviceable, ThreadSafe
- public class DefaultCacheManager
- extends AbstractLogEnabled
- implements CacheManager, ThreadSafe, Serviceable, Disposable, Configurable, Component
Component implementing the CacheManager
role.
- Version:
- $Id: DefaultCacheManager.java 289538 2005-09-16 13:46:22Z sylvain $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
configuration
protected Configuration configuration
cache
protected Map cache
DefaultCacheManager
public DefaultCacheManager()
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Configurable
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
get
public Object get(Source source,
String prefix)
- Description copied from interface:
CacheManager
- Retrieves an object from the cache.
- Specified by:
get
in interface CacheManager
set
public void set(Object object,
Source source,
String prefix)
throws IOException
- Description copied from interface:
CacheManager
- Saves an object in the cache.
- Specified by:
set
in interface CacheManager
- Throws:
IOException
dispose
public void dispose()
- Disposable
- Specified by:
dispose
in interface Disposable
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.