| org.mmbase.cache.xslt.TemplateCache
TemplateCache | public class TemplateCache extends Cache (Code) | | A cache for XSL transformation templates. A template can be based
on a file, or on a string. In the first case the cache key is based
on the file name, and the cache entry is invalidated if the file
changes (so, if you uses 'imports' in the XSL template, you have to
touch the file which imports, if the imported files changes). If
the template is based on a string, then the string itself serves as
a key.
author: Michiel Meeuwissen version: $Id: TemplateCache.java,v 1.20 2007/08/30 08:05:45 michiel Exp $ since: MMBase-1.6 |
main | public static void main(String[] argv)(Code) | | Invocation of the class from the commandline for testing
|
remove | public synchronized Templates remove(Key key)(Code) | | When removing an entry (because of LRU e.g), then also the FileWatcher must be removed.
|
|
|