Examples of attributeNames()


Examples of org.jboss.test.messaging.tools.jboss.MBeanConfigurationElement.attributeNames()

      assertEquals(new ObjectName("somedomain:service=SomeService"), mbeanConfig.getObjectName());
      assertEquals("org.example.SomeClass", mbeanConfig.getMBeanClassName());
      assertTrue(mbeanConfig.dependencyOptionalAttributeNames().isEmpty());

      Set attributeNames = mbeanConfig.attributeNames();
      assertEquals(1, attributeNames.size());

      assertTrue(attributeNames.contains("SomeName"));

      assertEquals("SomeValue", mbeanConfig.getAttributeValue("SomeName"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.