• Bug
  • Status: Open
  • 2 Major
  • Resolution:
  • ehcache-core
  • Reporter:
  • March 24, 2010
  • 0
  • Watchers: 2
  • October 11, 2011

Description

All cache configuration should be able to be done programmatically, so that those using IoC approaches can use all features.

CacheWriter does not support this - it can only be done through config.

See forum discussion: http://forums.terracotta.org/forums/posts/list/3351.page#18842

Comments

Geert Bevin 2010-03-26

The CacheConfiguration class allows cache writers to be registered in Java with a CacheWriterConfiguration instance. The actual instance of the cache writer can be added through the registerCacheWriter method on the cache instance. What else did you have in mind?

Fiona OShea 2010-04-08

Assigning back to Greg to respond to Geert’s question

Fiona OShea 2010-09-01

Moving all unresolved “Fix Revision 2.2.1” to fix revision “unknown” as we are releasing Magnum first which is 2.3. Currently not sure which fix version these will actually be in, but they are targeted for Fremantle release

Fiona OShea 2011-02-22

MOving unresolved P2 jiras to Ulloa - to be reviewed by Chris, Fiona, Greg soon