moved to http://jmesnil.net/wiki/Jmx4r:Examples
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).
Also, very useful if bean info (connection.getMBeanInfo(ObjectName)) was available from the JMX::MBean object.
@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
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).
Also, very useful if bean info (connection.getMBeanInfo(ObjectName)) was available from the JMX::MBean object.
@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