You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Melgar <dm...@us.ibm.com> on 2003/07/23 06:34:02 UTC

[modeler]createMBeanInfo looks incorrect




I have an MBean descriptors.xml file that I'm reading using the following
methods
Registry.loadRegistry()
Registry.findManagedBeans();
ManagedBean.createMBeanInfo();

I'm then reading through the returned MBeanInfo. Attributes are
represented, as are operations.

However, all the getters and setters are also showing up as operations in
addition to being listed as attributes.

This does not appear to be correct behavior and does not match what occurs
in JMX implementations when introspecting an MBean with attributes and
operations.

Is there a way to alter this behavior so that getters and setters are not
listed as operations?

David Melgar
Web Services Toolkit Development
Emerging Technologies
dmelgar@us.ibm.com