Package com.splunk.shuttl.server.mbeans

Examples of com.splunk.shuttl.server.mbeans.ShuttlArchiverMBean


        registersArchiverMBean.getName());
  }

  public void register_givenMBean_registersMBean() throws Exception {
    registersArchiverMBean.register();
    ShuttlArchiverMBean mBeanInstance = MBeanUtils.getMBeanInstance(
        registersArchiverMBean.getName(), ShuttlArchiverMBean.class);
    assertNotNull(mBeanInstance);
  }
View Full Code Here


    assertFalse(areMBeansRegistered());
  }

  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);
View Full Code Here

    registersMBeans.registerMBean(objectNameString, instance);
  }

  public void getMBeanInstance_registeredMBean_getsInstance() throws Exception {
    registersMBeans.registerMBean(objectNameString, instance);
    ShuttlArchiverMBean instance = MBeanUtils.getMBeanInstance(
        objectNameString, interfaceClass);
    assertNotNull(instance);
  }
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.server.mbeans.ShuttlArchiverMBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.