[jboss-user] [JBossCache] - CacheJmxWrapper.getCache() needs to be generified

k-dub do-not-reply at jboss.com
Wed Jul 11 17:27:39 EDT 2007


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. :(

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063235#4063235

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063235



More information about the jboss-user mailing list