Package javax.management

Examples of javax.management.MBeanParameterInfo


      {
         MBeanOperationInfo info = new MBeanOperationInfo(
               "MyOperation",
               "This is a description.",
               new MBeanParameterInfo[] {
                        new MBeanParameterInfo("FooParam", "java.lang.Object", "description"),
                        new MBeanParameterInfo("BarParam", "java.lang.String", "description")
               },
               "java.util.StringBuffer",
               MBeanOperationInfo.INFO
         );
        
View Full Code Here


      {
         MBeanOperationInfo info = new MBeanOperationInfo(
               "MyOperation",
               "This is a description.",
               new MBeanParameterInfo[] {
                        new MBeanParameterInfo("FooParam", "java.lang.Object", "description"),
                        new MBeanParameterInfo("BarParam", "java.lang.String", "description")
               },
               "java.util.StringBuffer",
               MBeanOperationInfo.ACTION_INFO
         );
        
View Full Code Here

      {
         MBeanOperationInfo info1 = new MBeanOperationInfo(
               "SomeName",
               null,
               new MBeanParameterInfo[] {
                        new MBeanParameterInfo("FooParam", "java.lang.Object", "description"),
                        new MBeanParameterInfo("BarParam", "java.lang.String", "description")
               },
               "java.util.StringBuffer",
               MBeanOperationInfo.ACTION_INFO
         );
        
View Full Code Here

      {
         MBeanOperationInfo info1 = new MBeanOperationInfo(
               "SomeName",
               "some description",
               new MBeanParameterInfo[] {
                        new MBeanParameterInfo("FooParam", "java.lang.Object", "description"),
                        new MBeanParameterInfo("BarParam", "java.lang.String", "description")
               },
               "java.util.StringBuffer",
               -22342
         );
        
View Full Code Here

      assertEquals(0, info.getNotifications().length);
      assertEquals(0, info.getOperations().length);

      MBeanParameterInfo[] parms = new MBeanParameterInfo[]
      {
         new MBeanParameterInfo(
            "name", "type", "description")
      };

      MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[]
      {
View Full Code Here

   public void testEquals()
      throws Exception
   {
      MBeanParameterInfo[] parms = new MBeanParameterInfo[]
      {
         new MBeanParameterInfo(
            "name", "type", "description")
      };

      MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[]
      {
View Full Code Here

   public void testHashCode()
      throws Exception
   {
      MBeanParameterInfo[] parms = new MBeanParameterInfo[]
      {
         new MBeanParameterInfo(
            "name", "type", "description")
      };

      MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[]
      {
View Full Code Here

   public void testSerialization()
      throws Exception
   {
      MBeanParameterInfo[] parms = new MBeanParameterInfo[]
      {
         new MBeanParameterInfo(
            "name", "type", "description")
      };

      MBeanAttributeInfo[] attributes = new MBeanAttributeInfo[]
      {
View Full Code Here

   // Tests ---------------------------------------------------------------------

   public void testMBeanParameterInfo()
      throws Exception
   {
      MBeanParameterInfo info = new MBeanParameterInfo(
         "name", "type", "description");
      assertEquals("name", info.getName());
      assertEquals("type", info.getType());
      assertEquals("description", info.getDescription());
   }
View Full Code Here

   }

   public void testHashCode()
      throws Exception
   {
      MBeanParameterInfo info1 = new MBeanParameterInfo("name", "type", "description");
      MBeanParameterInfo info2 = new MBeanParameterInfo("name", "type", "description");

      assertTrue("Different instances with the same hashcode are equal", info1.hashCode() == info2.hashCode());
   }
View Full Code Here

TOP

Related Classes of javax.management.MBeanParameterInfo

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.