Skip to content

Add facility to EhCacheFactorybean for registering event listeners [SPR-6234] #10902

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions