} catch (MalformedObjectNameException ex) {
logger.error("Error while trying to attach to " + mbd.getName(), ex);
throw new RuntimeException(ex);
}
MultiLayeredAttribute mla = new MultiLayeredAttribute(mbsc);
Map<Attribute, Object> retVal = new HashMap<Attribute, Object>();
for (Attribute a : mbd.getAttributes()) {
try{
retVal.putAll(mla.getAll(on, a));
} catch (Exception ex) {
logger.error("Error while extracting "
+ a.getName() + " from "
+ mbd.getName(), ex);
}