This content has been marked as final.
Show 3 replies
-
1. Re: CacheJmxWrapper.getCache() needs to be generified
brian.stansberry Jul 11, 2007 5:57 PM (in response to k-dub)If I try to use the getCache() method of CacheJmxWrapper, I can't use generics. :(
I'm tempted to say lucky you. ;)
But I won't -- http://jira.jboss.com/jira/browse/JBCACHE-1131.
Can't promise this will happen though; it's late for an API change. Up to Manik whether he's willing to let me do it.
Re: your read-only interface, I won't be able to do it. Simpler is for you to expose what you want w/ a trivial CacheJmxWrapper subclass that implements your desired interface. -
2. Re: CacheJmxWrapper.getCache() needs to be generified
k-dub Jul 11, 2007 6:01 PM (in response to k-dub)Sorry I didn't check JIRA first, I was in a hurry.
Thanks for the subclass tip. I'm new to MBeans and didn't quite realize that would be so easy to do, but now that you mention it that would be pretty easy and should work just fine. I'll try that in the morning.
Thanks. -
3. Re: CacheJmxWrapper.getCache() needs to be generified
brian.stansberry Jul 11, 2007 10:19 PM (in response to k-dub)Don't apologize; the JIRA didn't exist. :) Your post made me aware of the issue so I added it. The "lucky you" bit was me being droll (I'm personally not a fan of generics.)