public boolean makeServerConnection(JMXConnector jmxConnector) throws IOException, MBeanException,
AttributeNotFoundException, InstanceNotFoundException, ReflectionException, MalformedObjectNameException{
MBeanServerConnection mBeanServerConnection = jmxConnector.getMBeanServerConnection();
Set<ObjectName> mbeans = mBeanServerConnection.queryNames(new ObjectName("CoUGAR:name=healthChecker,*"), null);
if (!mbeans.isEmpty()) {
mBeanServerConnection.getAttribute(mbeans.iterator().next(), "SystemInService");
return true;
}
return false;