Note that Ehcache API also allows the CacheWriter to be set programmatically.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract CacheWriter | Returns: a constructed CacheWritera reference to the owning cache 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. properties)Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created. |
| CacheWriterFactory | back to summary |
|---|---|
| public CacheWriterFactory() | |
| createCacheWriter | back to summary |
|---|---|
| public abstract CacheWriter createCacheWriter(Ehcache cache, Properties properties) Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created.
| |