in src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java [79:99]
public AttributeList getAttributes() {
if ( this.attributeList == null ) {
final MBeanAttributeInfo[] infos = info.getAttributes();
final String[] names = new String[infos.length];
int index = 0;
for(final MBeanAttributeInfo i : infos) {
names[index] = i.getName();
index++;
}
try {
this.attributeList = mbeanServer.getAttributes(objectName, names);
} catch (InstanceNotFoundException e) {
// ignore
this.attributeList = new AttributeList();
} catch (ReflectionException e) {
// ignore
this.attributeList = new AttributeList();
}
}
return this.attributeList;
}