Examples of OpenMBeanAttributeInfoSupport


Examples of javax.management.openmbean.OpenMBeanAttributeInfoSupport

      assertTrue("Unexpected hash code for info w/default value", info.hashCode() == hashCode(info));
   }

   public void testNullDefaultValueHashCode() throws Exception
   {
      OpenMBeanAttributeInfoSupport info =
              new OpenMBeanAttributeInfoSupport("price",
                                                "how much it costs",
                                                SimpleType.FLOAT,
                                                true,
                                                false,
                                                false,
                                                null);
      assertTrue("Unexpected hash code for info w/null default value",
                 info.hashCode() == hashCode(info));
   }
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.