Allow EhCacheManager to use singleton CacheManager instance
-----------------------------------------------------------
Key: JSEC-65
URL: https://issues.apache.org/jira/browse/JSEC-65
Project: JSecurity
Issue Type: Improvement
Components: Caching
Reporter: Jeremy Haile
Fix For: 1.0
Currently we create a new CacheManager if one is not injected for reasons
described in code comments in EhCacheManager.init(). However, in some cases it
is useful to simply use the EhCache CacheManager singleton. A couple of
examples: 1) When clustering with Terracotta, if you use the singleton instance
it is automatically clustered 2) It is convenient to configure all of your
caches in a single ehcache.xml file, rather than needing multiple ehcache files
for each CacheManager instance.
We should add a property that determines whether or not the EhCacheManager uses
the singleton CacheManager or instantiates a new one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.