public class TreeWalker
extends Object
Walks a JMX tree and prints out all of the attribute values.
Does not use the JmxTrans api. This is just more of a proof of concept and
shows how utterly broken and stupid the jmx api is. The fact that you have to
pass in null,null into MBeanServerConnection.queryNames() is utterly stupid.
This code was borrowed from the munin jmxquery plugin which I had to jad
decompile since I couldn't find the source to it.
- Author:
- jon