org.apache.cocoon.forms
Interface CacheManager

All Known Implementing Classes:
DefaultCacheManager

public interface CacheManager

Work interface for the component that caches objects for Cocoon Forms.

Version:
$Id: CacheManager.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
static String ROLE
           
 
Method Summary
 Object get(Source source, String prefix)
          Retrieves an object from the cache.
 void remove(Source source, String prefix)
          Removes an object from the cache.
 void set(Object object, Source source, String prefix)
          Saves an object in the cache.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

get

public Object get(Source source,
                  String prefix)
Retrieves an object from the cache.


set

public void set(Object object,
                Source source,
                String prefix)
         throws IOException
Saves an object in the cache.

Throws:
IOException

remove

public void remove(Source source,
                   String prefix)
Removes an object from the cache.



Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.