Your approach doesn't seem straightforward.
The approach I've taken is to use the MBeanServerConnection interface, see this :
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean
You can create a proxy implementing the MBean interface by using this class:
javax.management.MBeanServerInvocationHandler
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090483#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...