freemarker.template.cache
Class NullCachingStrategyFactory

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

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

Factory class for creating NullCachingStrategy objects.

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

Field Summary
static NullCachingStrategyFactory INSTANCE
          The singleton instance of this NullCachingStrategyFactory
 
Method Summary
 CachingStrategy create(StrategyParameters params)
          Create a NullCachingStrategy 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 NullCachingStrategyFactory INSTANCE
The singleton instance of this NullCachingStrategyFactory

Method Detail

create

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

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