- 
- All Known Implementing Classes:
- OpenMBeanConstructorInfoSupport
 
 
 public interface OpenMBeanConstructorInfoDescribes a constructor of an Open MBean. This interface declares the same methods as the class MBeanConstructorInfo. A class implementing this interface (typicallyOpenMBeanConstructorInfoSupport) should extendMBeanConstructorInfo.The getSignature()method should return at runtime an array of instances of a subclass ofMBeanParameterInfowhich implements theOpenMBeanParameterInfointerface (typicallyOpenMBeanParameterInfoSupport).- Since:
- 1.5
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object obj)Compares the specified obj parameter with thisOpenMBeanConstructorInfoinstance for equality.StringgetDescription()Returns a human readable description of the constructor described by thisOpenMBeanConstructorInfoinstance.StringgetName()Returns the name of the constructor described by thisOpenMBeanConstructorInfoinstance.MBeanParameterInfo[]getSignature()Returns an array ofOpenMBeanParameterInfoinstances describing each parameter in the signature of the constructor described by thisOpenMBeanConstructorInfoinstance.inthashCode()Returns the hash code value for thisOpenMBeanConstructorInfoinstance.StringtoString()Returns a string representation of thisOpenMBeanConstructorInfoinstance.
 
- 
- 
- 
Method Detail- 
getDescriptionString getDescription() Returns a human readable description of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
- the description.
 
 - 
getNameString getName() Returns the name of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
- the name.
 
 - 
getSignatureMBeanParameterInfo[] getSignature() Returns an array ofOpenMBeanParameterInfoinstances describing each parameter in the signature of the constructor described by thisOpenMBeanConstructorInfoinstance.- Returns:
- the signature.
 
 - 
equalsboolean equals(Object obj) 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.
 - Overrides:
- equalsin class- Object
- Parameters:
- obj- the object to be compared for equality with this- OpenMBeanConstructorInfoinstance;
- Returns:
- trueif the specified object is equal to this- OpenMBeanConstructorInfoinstance.
- See Also:
- Object.hashCode(),- HashMap
 
 - 
hashCodeint 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().- Overrides:
- hashCodein class- Object
- Returns:
- the hash code value for this OpenMBeanConstructorInfoinstance
- See Also:
- Object.equals(java.lang.Object),- System.identityHashCode(java.lang.Object)
 
 - 
toStringString 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.
 
- 
 
-