This content has been marked as final.
Show 1 reply
-
1. Re: Example of querying JBoss' JMX parameters?
peterj May 17, 2007 11:30 AM (in response to bogusexception)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.