Package net.sf.ehcache.loader
Class CacheLoaderFactory
- java.lang.Object
-
- net.sf.ehcache.loader.CacheLoaderFactory
-
public abstract class CacheLoaderFactory extends java.lang.ObjectAn 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$
- Author:
- Greg Luck
-
-
Constructor Summary
Constructors Constructor Description CacheLoaderFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CacheLoadercreateCacheLoader(Ehcache cache, java.util.Properties properties)Creates a CacheLoader using the Ehcache configuration mechanism at the time the associated cache is created.
-
-
-
Method Detail
-
createCacheLoader
public abstract CacheLoader createCacheLoader(Ehcache cache, java.util.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 cache, this cache isn't yet initialized nor wired to a particular CacheManagerproperties- implementation specific properties configured as delimiter separated name value pairs in ehcache.xml- Returns:
- a constructed CacheLoader
-
-