private boolean areMBeansRegistered() throws InstanceNotFoundException {
try {
ShuttlArchiverMBean archiverMBean = MBeanUtils.getMBeanInstance(
ShuttlArchiverMBean.OBJECT_NAME, ShuttlArchiverMBean.class);
JMXSplunkMBean splunkMBean = MBeanUtils.getMBeanInstance(
JMXSplunkMBean.OBJECT_NAME, JMXSplunkMBean.class);
ShuttlServerMBean serverMBean = MBeanUtils.getMBeanInstance(
ShuttlServer.OBJECT_NAME, ShuttlServerMBean.class);
return archiverMBean != null && splunkMBean != null
&& serverMBean != null;