return rtc.toManagedEntity(result);
}
}
};
final ParameterNames pna = mom.getAnnotation( m.element(),
ParameterNames.class);
mm.info( mom.registrationFineDebug(), "pna", pna);
if (pna != null && pna.value().length != atcs.size()) {
throw Exceptions.self.parameterNamesLengthBad();
}
final MBeanParameterInfo[] paramInfo =
new OpenMBeanParameterInfoSupport[atcs.size()];
int ctr = 0;
for (TypeConverter tc : atcs) {
String name = "";
try {
name = (pna == null) ? "arg" + ctr : pna.value()[ctr];
paramInfo[ctr] = new OpenMBeanParameterInfoSupport(
name, Exceptions.self.noDescriptionAvailable(),
tc.getManagedType());
ctr++;
} catch (IllegalArgumentException ex) {