• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • hsingh
  • Reporter:
  • March 28, 2010
  • 0
  • Watchers: 1
  • January 17, 2013
  • March 29, 2010


CacheConfiguration default constructor was removed in 2.0. This affects at least ehcache-monitor.


gluck 2010-03-29

Made constructor public. It was package local.

Before there were no constructors, so there was an implicit empty constructor.

Geert Bevin 2010-03-29

The reason why this was made package private is to ensure that the mandatory config parameters cacheName and maxElementsInMemory are always provided. Without this, people can forget to add them and create an invalid cache. I opted to mandate this simply through API instead of runtime checks.

Himadri Singh 2010-07-30

default constructor is available.