Package org.springframework.jmx.export

Examples of org.springframework.jmx.export.TestDynamicMBean


* @author Juergen Hoeller
*/
public class JmxUtilsTests extends TestCase {

  public void testIsMBeanWithDynamicMBean() throws Exception {
    DynamicMBean mbean = new TestDynamicMBean();
    assertTrue("Dynamic MBean not detected correctly", JmxUtils.isMBean(mbean.getClass()));
  }
View Full Code Here


* @author Juergen Hoeller
*/
public class JmxUtilsTests extends TestCase {

  public void testIsMBeanWithDynamicMBean() throws Exception {
    DynamicMBean mbean = new TestDynamicMBean();
    assertTrue("Dynamic MBean not detected correctly", JmxUtils.isMBean(mbean.getClass()));
  }
View Full Code Here

    }

    @Bean(name="spring:mbean=true")
    @Lazy
    public TestDynamicMBean dynamic() {
      return new TestDynamicMBean();
    }
View Full Code Here

TOP

Related Classes of org.springframework.jmx.export.TestDynamicMBean

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.