You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With EhCach you can register event listeners with individual caches. Unfortunately, Spring's EhCacheFactoryBean does not provide the facility for configuring these.
I suggest being able to inject a List of CacheEventListenerFactory objects into EhCacheFactoryBean, which would then register them with the cache it creates.
Added a "cacheEventListeners" property of type Set<CacheEventListener>. Also added "bootstrapCacheLoader", "diskSpoolBufferSize" and "clearOnFlush", catching up with the latest properties supported by EHCache 1.6 (while remaining compatible with EHCache 1.3 or higher).
Kenny MacLeod opened SPR-6234 and commented
With EhCach you can register event listeners with individual caches. Unfortunately, Spring's EhCacheFactoryBean does not provide the facility for configuring these.
We still have the option of configuring the caches in ehcache.xml (see http://ehcache.org/EhcacheUserGuide.html#id.s28), but I much prefer doing this via EhCacheFactoryBean.
I suggest being able to inject a List of CacheEventListenerFactory objects into EhCacheFactoryBean, which would then register them with the cache it creates.
Affects: 2.5.6, 3.0 M4
Issue Links:
Referenced from: commits 747300f
The text was updated successfully, but these errors were encountered: