[jboss-user] [JBossCache] - Re: JMX interceptors without CacheJmxWrapper

k-dub do-not-reply at jboss.com
Tue Jul 17 12:39:21 EDT 2007


So, I tried writing a ReadOnlyCacheJmxWrapperMBean with just getters, along with a ReadOnlyCacheJmxWrapper class which subclassed CacheJmxWrapper. I was very surprised to see JMX use the CacheJmxWrapperMBean interface rather than my ReadOnlyCacheJmxWrapperMBean.

So I basically had to write out all the functionality in ReadOnlyCacheJmxWrapper rather than subclassing CacheJmxWrapper, then everything worked.

By the way, I didn't get the Spring config working. I couldn't get any interceptors to show up in JConsole. I went with the programmatic MBean registration.

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

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



More information about the jboss-user mailing list