EmsBean bean = conn.getBean(mbean);
if (bean != null) {
if (trace) log.trace("Retrieved mbean with name {0}", mbean);
bean.refreshAttributes();
String attName = metric.substring(metric.indexOf(".") + 1);
EmsAttribute att = bean.getAttribute(attName);
// Attribute values are of various data types
if (att != null) {
Object o = att.getValue();
Class attrType = att.getTypeClass();
DataType type = req.getDataType();
if (type == DataType.MEASUREMENT) {
if (o != null) {
MeasurementDataNumeric res = constructMeasurementDataNumeric(attrType, o, req);
if (res != null) report.addData(res);