ehcache

net.sf.ehcache.extension
Class CacheExtensionFactory

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

public abstract class CacheExtensionFactory
extends 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 5594 2012-05-07 16:04:31Z cdennis $
Author:
Greg Luck

Constructor Summary
CacheExtensionFactory()
           
 
Method Summary
abstract  CacheExtension createCacheExtension(Ehcache cache, 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,
                                                    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

Copyright 2001-2014, Terracotta, Inc.