ehcache

net.sf.ehcache.extension
Class CacheExtensionFactory

java.lang.Object
  extended by net.sf.ehcache.extension.CacheExtensionFactory

public abstract class CacheExtensionFactory
extends java.lang.Object

An abstract factory for creating CacheExtensions. Implementers should provide their own concrete factory extending this factory. It can then be configured in ehcache.xml.

Version:
$Id: CacheExtensionFactory.java 519 2007-07-27 07:11:45Z gregluck $
Author:
Greg Luck

Constructor Summary
CacheExtensionFactory()
           
 
Method Summary
abstract  CacheExtension createCacheExtension(Ehcache cache, java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheExtensionFactory

public CacheExtensionFactory()
Method Detail

createCacheExtension

public abstract CacheExtension createCacheExtension(Ehcache cache,
                                                    java.util.Properties properties)
Parameters:
cache - the cache this extension should hold a reference to, and to whose lifecycle it should be bound.
properties - implementation specific properties configured as delimiter separated name value pairs in ehcache.xml

ehcache