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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to