[ 
https://issues.apache.org/jira/browse/KI-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Cabrera moved JSEC-65 to KI-54:
------------------------------------

    Fix Version/s:     (was: 1.0)
      Component/s:     (was: Caching)
              Key: KI-54  (was: JSEC-65)
          Project: Ki  (was: JSecurity)

> Allow EhCacheManager to use singleton CacheManager instance
> -----------------------------------------------------------
>
>                 Key: KI-54
>                 URL: https://issues.apache.org/jira/browse/KI-54
>             Project: Ki
>          Issue Type: Improvement
>            Reporter: Jeremy Haile
>            Assignee: Jeremy Haile
>
> 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.

Reply via email to