What's new? | Help | Directory | Sign in
Google
       
Search
for
Updated Dec 28, 2008 by jmesnil
Examples  

moved to http://jmesnil.net/wiki/Jmx4r:Examples


Comment by sysprv, Sep 10, 2008

If I wanted to get a list of all available mbeans, how should I do it? I can't use MBean.find_all_by_name nil because nil would get passed to ObjectName?.new, causing a NPE. Perhaps a new method? That simply does mbsc.queryNames(nil, nil).

Comment by sysprv, Sep 12, 2008

Also, very useful if bean info (connection.getMBeanInfo(ObjectName)) was available from the JMX::MBean object.

Comment by jmesnil, Dec 03, 2008

@sysprv, to get the list of all available mbeans, you can use Bean.find_all_by_name ":"

I'll also add a JMX::MBean::pretty_print(object_name) to display all the information available on the MBean


Sign in to add a comment