javax.management.openmbean
Interface OpenMBeanConstructorInfo

All Known Implementing Classes:
OpenMBeanConstructorInfoSupport (src) , OpenMBeanInfoSupportTestCase.MyOpenMBeanConstructorInfoSupport (src)

public interface OpenMBeanConstructorInfo

An open MBean constructor info implements this interface as well as extending MBeanConstructorInfo.

OpenMBeanConstructorInfoSupport (src) is an example of such a class.


Method Summary
 boolean equals(java.lang.Object obj)
          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.
 

Method Detail

getDescription

public java.lang.String getDescription()
Retrieve a human readable description of the open MBean constructor the implementation of this interface describes.

Returns:
the description.

getName

public java.lang.String getName()
Retrieve the name of the constructor described.

Returns:
the name.

getSignature

public MBeanParameterInfo (src) [] getSignature()
Returns an array of the parameters passed to the constructor

The parameters must be OpenMBeanParameterInfos.

Returns:
the constructor's parameters.

equals

public boolean equals(java.lang.Object obj)
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

Parameters:
obj - the object to test
Returns:
true when above is true, false otherwise

hashCode

public int hashCode()
Generates a hashcode for the implementation.

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

Returns:
the calculated hashcode

toString

public java.lang.String toString()
A string representation of the open mbean constructor info.

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

Returns:
the string