javax.management.openmbean
public interface OpenMBeanConstructorInfo
MBeanConstructorInfo
, so implementations should
extend this class. The getSignature()
method should
return an array containing instances of OpenMBeanParameterInfo
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this attribute with the supplied object.
|
String |
getDescription()
Returns a description of this constructor.
|
String |
getName()
Returns the name of this constructor.
|
MBeanParameterInfo[] |
getSignature()
Returns the constructor's signature, in the form of
information on each parameter.
|
int |
hashCode()
Returns the hashcode of the constructor information as the sum of
the hashcodes of the name and signature (calculated by
java.util.Arrays.asList(signature).hashCode() ). |
String |
toString()
Returns a textual representation of this instance.
|
boolean equals(Object obj)
OpenMBeanConstructorInfo
with an equal name and signature.equals
in class Object
obj
- the object to compare.OpenMBeanParameterInfo
instance,
name.equals(object.getName())
,
and signature.equals(object.getSignature())
.Object.hashCode()
String getDescription()
MBeanParameterInfo[] getSignature()
OpenMBeanParameterInfo
.OpenMBeanParameterInfo
objects,
describing the constructor parameters.int hashCode()
java.util.Arrays.asList(signature).hashCode()
).hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
String toString()
javax.management.openmbean.OpenMBeanConstructorInfo
)
along with the name and signature.toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)