A few references:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103398
http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e2207
Also, look at the source code for twiddle, which can be found in the source download at
./console/src/main/org/jboss/console/twiddle/command. Of particular interest is the method
Twiddle.createMBeanServerConnection which shows how to access the MBean server and the
execute() method in each of the command classes, such as GetCommand.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046535#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...