ehcache

net.sf.ehcache.constructs
Class CacheDecoratorFactory

java.lang.Object
  extended by net.sf.ehcache.constructs.CacheDecoratorFactory

public abstract class CacheDecoratorFactory
extends java.lang.Object

An abstract factory for creating decorated Ehcache instances. Implementing classes should provide their own concrete factory extending this factory.

Author:
Abhishek Sanoujam

Constructor Summary
CacheDecoratorFactory()
           
 
Method Summary
abstract  Ehcache createDecoratedEhcache(Ehcache cache, java.util.Properties properties)
          Creates a decorated Ehcache using the properties specified for configuring the decorator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheDecoratorFactory

public CacheDecoratorFactory()
Method Detail

createDecoratedEhcache

public abstract Ehcache createDecoratedEhcache(Ehcache cache,
                                               java.util.Properties properties)
Creates a decorated Ehcache using the properties specified for configuring the decorator.

Parameters:
cache - a reference to the owning cache
properties - implementation specific properties configured as delimiter separated name value pairs in ehcache.xml
Returns:
a decorated Ehcache

ehcache

true