|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.writer.CacheWriterFactory
public abstract class CacheWriterFactory
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.
Constructor Summary | |
---|---|
CacheWriterFactory()
|
Method Summary | |
---|---|
abstract CacheWriter |
createCacheWriter(Ehcache cache,
java.util.Properties properties)
Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheWriterFactory()
Method Detail |
---|
public abstract CacheWriter createCacheWriter(Ehcache cache, java.util.Properties properties)
cache
- a reference to the owning cacheproperties
- 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.
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |