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 1304258 2012-03-23 10:09:27Z 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

static final String ROLE
Method Detail

get

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


set

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

Throws:
IOException

remove

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



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