- All Known Implementing Classes:
 OpenMBeanConstructorInfoSupport
Describes a constructor of an Open MBean.
This interface declares the same methods as the class MBeanConstructorInfo.  A class implementing this
 interface (typically OpenMBeanConstructorInfoSupport)
 should extend MBeanConstructorInfo.
The getSignature() method should return at runtime an
 array of instances of a subclass of MBeanParameterInfo
 which implements the OpenMBeanParameterInfo interface
 (typically OpenMBeanParameterInfoSupport).
- Since:
 - 1.5
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares the specified obj parameter with thisOpenMBeanConstructorInfoinstance for equality.Returns a human readable description of the constructor described by thisOpenMBeanConstructorInfoinstance.getName()Returns the name of the constructor described by thisOpenMBeanConstructorInfoinstance.Returns an array ofOpenMBeanParameterInfoinstances describing each parameter in the signature of the constructor described by thisOpenMBeanConstructorInfoinstance.inthashCode()Returns the hash code value for thisOpenMBeanConstructorInfoinstance.toString()Returns a string representation of thisOpenMBeanConstructorInfoinstance. 
- 
Method Details
- 
getDescription
String getDescription()Returns a human readable description of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
 - the description.
 
 - 
getName
String getName()Returns the name of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
 - the name.
 
 - 
getSignature
MBeanParameterInfo[] getSignature()Returns an array ofOpenMBeanParameterInfoinstances describing each parameter in the signature of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
 - the signature.
 
 - 
equals
Compares the specified obj parameter with thisOpenMBeanConstructorInfoinstance for equality.Returns
trueif and only if all of the following statements are true:- obj is non null,
 - obj also implements the 
OpenMBeanConstructorInfointerface, - their names are equal
 - their signatures are equal.
 
equalsmethod works properly for obj parameters which are different implementations of theOpenMBeanConstructorInfointerface.
 - 
hashCode
int hashCode()Returns the hash code value for thisOpenMBeanConstructorInfoinstance.The hash code of an
OpenMBeanConstructorInfoinstance is the sum of the hash codes of all elements of information used inequalscomparisons (ie: its name and signature, where the signature hashCode is calculated by a call tojava.util.Arrays.asList(this.getSignature).hashCode()).This ensures that
t1.equals(t2)implies thatt1.hashCode()==t2.hashCode()for any twoOpenMBeanConstructorInfoinstancest1andt2, as required by the general contract of the methodObject.hashCode(). - 
toString
String toString()Returns a string representation of thisOpenMBeanConstructorInfoinstance.The string representation consists of the name of this class (ie
javax.management.openmbean.OpenMBeanConstructorInfo), and the name and signature of the described constructor. 
 -