net.sf.ehcache.loader
Class CacheLoaderFactory
java.lang.Object
net.sf.ehcache.loader.CacheLoaderFactory
public abstract class CacheLoaderFactory
- extends Object
An abstract factory for creating cache loaders. Implementers should provide their own
concrete factory extending this factory.
Note that Ehcache API also allows the CacheLoader to be set programmatically.
- Version:
- $Id: CacheLoaderFactory.java 2154 2010-04-06 02:45:52Z cdennis $
- Author:
- Greg Luck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheLoaderFactory
public CacheLoaderFactory()
createCacheLoader
public abstract CacheLoader createCacheLoader(Ehcache cache,
Properties properties)
- Creates a CacheLoader using the Ehcache configuration mechanism at the time the associated cache
is created.
- Parameters:
cache
- a reference to the owning cacheproperties
- implementation specific properties configured as delimiter
separated name value pairs in ehcache.xml
- Returns:
- a constructed CacheLoader
true