Package org.jboss.test.jbossmx.compliance.standard.support

Examples of org.jboss.test.jbossmx.compliance.standard.support.PackageProtectedMBean


   {
      try
      {
         MBeanServer server = MBeanServerFactory.newMBeanServer();
         ObjectName objectName = new ObjectName("test:key=value");
         PackageProtectedMBean mbean = PackageProtectedMBeanFactory.createMBean("TestMBean");
        
         server.registerMBean(mbean, objectName);
        
         String name = (String)server.getAttribute(objectName, "Name");
         assertEquals("TestMBean", name);
View Full Code Here

TOP

Related Classes of org.jboss.test.jbossmx.compliance.standard.support.PackageProtectedMBean

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.