public abstract class CacheWriterFactory
- extends Object
An abstract factory for creating cache writers. Implementers should provide their own
concrete factory extending this factory.
Note that Ehcache API also allows the CacheWriter to be set programmatically.
- $Id: CacheWriterFactory.java 3883 2011-04-09 18:17:18Z hhuynh $
- Greg Luck, Geert Bevin
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract CacheWriter createCacheWriter(Ehcache cache,
- Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created.
cache - a reference to the owning cache
properties - configuration properties that will be ignored by Ehcache, but may be useful for specifying
the underlying resource. e.g. dataSourceName could be specified and then looked up in JNDI.
- a constructed CacheWriter
Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.