[infinispan-issues] [JBoss JIRA] Created: (ISPN-316) Add aliasing capability to DefaultCacheManager

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Dec 15 15:01:30 EST 2009


Add aliasing capability to DefaultCacheManager
----------------------------------------------

                 Key: ISPN-316
                 URL: https://jira.jboss.org/jira/browse/ISPN-316
             Project: Infinispan
          Issue Type: Feature Request
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor
             Fix For: 4.1.0.CR1


The JBoss AS impl of the JBC CacheManager supports aliasing of cache configuration names. DefaultCacheManager can do the same. Helpful for preserving configuration compatibility across releases, e.g. an EJB3 bean class annotated with @CacheConfig(name="jboss.cache:service=EJB3SFSBClusteredCache") to work in AS 4.2 still works in AS 5 because I made "jboss.cache:service=EJB3SFSBClusteredCache" an alias for "sfsb-cache".

This doesn't affect the CacheManager API; it's an implementation detail; just inject a map of aliases and then resolve any unknown configuration names against it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list