freemarker.template.cache
Class LoadOnDemandCachingStrategyFactory

java.lang.Object
  extended by freemarker.template.cache.LoadOnDemandCachingStrategyFactory
All Implemented Interfaces:
CachingStrategyFactory

public final class LoadOnDemandCachingStrategyFactory
extends java.lang.Object
implements CachingStrategyFactory

Factory class for creating LoadOnDemandCachingStrategy objects.

Since:
1.9
Version:
$Id: LoadOnDemandCachingStrategyFactory.java 1112 2013-04-12 02:59:25Z run2000 $
Author:
Nicholas Cull

Field Summary
static LoadOnDemandCachingStrategyFactory INSTANCE
          The singleton instance of this LoadOnDemandCachingStrategyFactory
 
Method Summary
 CachingStrategy create(StrategyParameters params)
          Create a LoadOnDemandCachingStrategy with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final LoadOnDemandCachingStrategyFactory INSTANCE
The singleton instance of this LoadOnDemandCachingStrategyFactory

Method Detail

create

public CachingStrategy create(StrategyParameters params)
Create a LoadOnDemandCachingStrategy with the given parameters.

Specified by:
create in interface CachingStrategyFactory
Parameters:
params - the parameters with which to create the cache retriever
Returns:
a new LoadOnDemandCachingStrategy initialized with the given parameters