try
{
for (int i1 = 0 ; i1 < mbeanNames.length ; i1 ++)
{
Class cl = Class.forName(mbeanNames[i1]);
MBeanInfoBuilder builder = new MBeanInfoBuilder(cl);
MBeanInfo mi = builder.getMBeanInfo ();
MBeanAttributeInfo[] attrs = mi.getAttributes();
for (int i = 0 ; i < attrs.length ; i++)
{
Logger.log("Attr: " + attrs[i].getName ());
}