org.jboss.test.jmx.compliance.openmbean
Class OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport

java.lang.Object
  extended byorg.jboss.test.jmx.compliance.openmbean.OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport
All Implemented Interfaces:
javax.management.openmbean.OpenMBeanConstructorInfo
Enclosing class:
OpenMBeanInfoSupportTestCase

public static class OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport
extends Object
implements javax.management.openmbean.OpenMBeanConstructorInfo


Constructor Summary
OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport()
           
 
Method Summary
 boolean equals(Object o)
          Compares an object for equality with the implementing class.
 String getDescription()
          Retrieve a human readable description of the open MBean constructor the implementation of this interface describes.
 String getName()
          Retrieve the name of the constructor described.
 javax.management.MBeanParameterInfo[] getSignature()
          Returns an array of the parameters passed to the constructor
 int hashCode()
          Generates a hashcode for the implementation.
 String toString()
          A string representation of the open mbean constructor info.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport

public OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport()
Method Detail

equals

public boolean equals(Object o)
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
Compares an object for equality with the implementing class.

The object is not null
The object implements the open mbean constructor info interface
The constructor names are equal
The signatures are equal

Specified by:
equals in interface javax.management.openmbean.OpenMBeanConstructorInfo

getDescription

public String getDescription()
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
Retrieve a human readable description of the open MBean constructor the implementation of this interface describes.

Specified by:
getDescription in interface javax.management.openmbean.OpenMBeanConstructorInfo
Returns:
the description.

getName

public String getName()
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
Retrieve the name of the constructor described.

Specified by:
getName in interface javax.management.openmbean.OpenMBeanConstructorInfo
Returns:
the name.

getSignature

public javax.management.MBeanParameterInfo[] getSignature()
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
Returns an array of the parameters passed to the constructor

The parameters must be OpenMBeanParameterInfos.

Specified by:
getSignature in interface javax.management.openmbean.OpenMBeanConstructorInfo
Returns:
the constructor's parameters.

hashCode

public int hashCode()
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
Generates a hashcode for the implementation.

The sum of the hashCodes for the elements mentioned in the equals method

Specified by:
hashCode in interface javax.management.openmbean.OpenMBeanConstructorInfo

toString

public String toString()
Description copied from interface: javax.management.openmbean.OpenMBeanConstructorInfo
A string representation of the open mbean constructor info.

It is made up of implementation class and the values mentioned in the equals method

Specified by:
toString in interface javax.management.openmbean.OpenMBeanConstructorInfo


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.