Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5154

Make JCacheManager/JCache more reusable


    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR2, 7.1.0.Final
    • 7.1.0.Beta1
    • JCache
    • None

      I've been looking into adding a cache subsystem to WildFly for jsr-107 integration. WildFly will need to implement its own CachingProvider that supplies custom CacheManager implementations, but I'd like to reuse as much of Infinispan's JCache implementation as possible. There are at least 2 issues preventing me from doing this:

      1. JCache's constructor accepts a JCacheManager, but doesn't require any special methods. The generic interface could be used instead - thus allowing WildFly to create a JCache using its own CacheManager.
      2. WildFly will want to customize specific behavior of Infinispan's JCache implementation, which becomes difficult since JCache is a final class.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            0 Vote for this issue
            1 Start watching this issue