node-jmx icon indicating copy to clipboard operation
node-jmx copied to clipboard

[Feature Request] getMBeanInfo(beanName)

Open anutham-b opened this issue 10 years ago • 2 comments

The counterpart for MBeanServerConnection.getMBeanInfo(name) doesn't seem to be currently available. Could you provide the method as it is useful in getting the attributes, operations etc of a bean?

anutham-b avatar Jul 20 '15 11:07 anutham-b

This will require to convert he MBeanInfo java class to a some kind of JavaScript object. I tried in the past but did not finish.

At first glance, it seems that it will not be easy to implement. I'm not planning to implement this in the short term, but I would be happy to review a Pull Request on this.

zuazo avatar Jul 20 '15 18:07 zuazo

@zuazo - if this feature were to be implemented, which file would need changing? The furthest level I drilled down to was javaReflection.js but I'm not exactly sure of this.

I too am looking for programmatic access to find a list of attributes given an MBean.

giranm avatar Mar 26 '18 21:03 giranm