ObjectName patternOn;
try {
patternOn = new ObjectName(patternObjectName);
} catch (MalformedObjectNameException e) {
throw new MetricInvalidException(MSG_ERR_MALFORMED, e);
}
JMXConnector jmxConnector = null;
try {
jmxConnector = MxUtil.getCachedMBeanConnector(connectionProps);