org.apache.camel.component.freemarker
Class NoCacheStorage

java.lang.Object
  extended by org.apache.camel.component.freemarker.NoCacheStorage
All Implemented Interfaces:
freemarker.cache.CacheStorage

public class NoCacheStorage
extends Object
implements freemarker.cache.CacheStorage

A cache storage for Freemarker with no cache used for development to force reload of templates on every request.


Constructor Summary
NoCacheStorage()
           
 
Method Summary
 void clear()
           
 Object get(Object key)
           
 void put(Object key, Object value)
           
 void remove(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCacheStorage

public NoCacheStorage()
Method Detail

get

public Object get(Object key)
Specified by:
get in interface freemarker.cache.CacheStorage

put

public void put(Object key,
                Object value)
Specified by:
put in interface freemarker.cache.CacheStorage

remove

public void remove(Object key)
Specified by:
remove in interface freemarker.cache.CacheStorage

clear

public void clear()
Specified by:
clear in interface freemarker.cache.CacheStorage


Apache CAMEL