3 Replies Latest reply on Jul 11, 2007 10:19 PM by Brian Stansberry

    CacheJmxWrapper.getCache() needs to be generified


      I'm experimenting with CacheJmxWrapper and found a difference compared to the CacheFactory. We normally use this code:

      CacheFactory<String, our.app.CacheEntry> factory = DefaultCacheFactory.getInstance();
      Cache<String, our.app.CacheEntry> cache = factory.createCache( configFile, false );

      If I try to use the getCache() method of CacheJmxWrapper, I can't use generics. :(