test.compliance.openmbean
Class OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport

java.lang.Object
  extended bytest.compliance.openmbean.OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport
All Implemented Interfaces:
OpenMBeanConstructorInfo (src)
Enclosing class:
OpenMBeanInfoSupportTestCase (src)

public static class OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport
extends java.lang.Object
implements OpenMBeanConstructorInfo (src)


Constructor Summary
OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares an object for equality with the implementing class.
 java.lang.String getDescription()
          Retrieve a human readable description of the open MBean constructor the implementation of this interface describes.
 java.lang.String getName()
          Retrieve the name of the constructor described.
 MBeanParameterInfo (src) [] getSignature()
          Returns an array of the parameters passed to the constructor
 int hashCode()
          Generates a hashcode for the implementation.
 java.lang.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(java.lang.Object o)
Description copied from interface: OpenMBeanConstructorInfo (src)
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 OpenMBeanConstructorInfo (src)

getDescription

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

Specified by:
getDescription in interface OpenMBeanConstructorInfo (src)
Returns:
the description.

getName

public java.lang.String getName()
Description copied from interface: OpenMBeanConstructorInfo (src)
Retrieve the name of the constructor described.

Specified by:
getName in interface OpenMBeanConstructorInfo (src)
Returns:
the name.

getSignature

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

The parameters must be OpenMBeanParameterInfos.

Specified by:
getSignature in interface OpenMBeanConstructorInfo (src)
Returns:
the constructor's parameters.

hashCode

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

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

Specified by:
hashCode in interface OpenMBeanConstructorInfo (src)

toString

public java.lang.String toString()
Description copied from interface: OpenMBeanConstructorInfo (src)
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 OpenMBeanConstructorInfo (src)