Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Oct 13, 2009 · 1 comment
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Oct 13, 2009

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

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

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).

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants