java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanOperationInfo
javax.management.openmbean.OpenMBeanOperationInfoSupport
All Implemented Interfaces:
OpenMBeanOperationInfo, Cloneable, DescriptorRead, Serializable
1.5
- Field Summary | ||
---|---|---|
static final long | serialVersionUID |
Fields inherited from javax.management.MBeanOperationInfo: |
---|
serialVersionUID, NO_OPERATIONS, INFO, ACTION, ACTION_INFO, UNKNOWN |
Fields inherited from javax.management.MBeanFeatureInfo: |
---|
serialVersionUID, name, description |
Constructor: |
---|
Constructs an {@code OpenMBeanOperationInfoSupport} instance, which describes the operation of a class of open MBeans, with the specified {@code name}, {@code description}, {@code signature}, {@code returnOpenType} and {@code impact}. The {@code signature} array parameter is internally copied, so that subsequent changes to the array referenced by {@code signature} have no effect on this instance.
|
Constructs an {@code OpenMBeanOperationInfoSupport} instance, which describes the operation of a class of open MBeans, with the specified {@code name}, {@code description}, {@code signature}, {@code returnOpenType}, {@code impact}, and {@code descriptor}. The {@code signature} array parameter is internally copied, so that subsequent changes to the array referenced by {@code signature} have no effect on this instance.
|
Method from javax.management.openmbean.OpenMBeanOperationInfoSupport Summary: |
---|
equals, getReturnOpenType, hashCode, toString |
Methods from javax.management.MBeanOperationInfo: |
---|
clone, equals, getImpact, getReturnType, getSignature, hashCode, parameters, toString |
Methods from javax.management.MBeanFeatureInfo: |
---|
equals, getDescription, getDescriptor, getName, hashCode |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.management.openmbean.OpenMBeanOperationInfoSupport Detail: |
---|
Compares the specified {@code obj} parameter with this {@code OpenMBeanOperationInfoSupport} instance for equality. Returns {@code true} if and only if all of the following statements are true: |
|
Returns the hash code value for this {@code OpenMBeanOperationInfoSupport} instance. The hash code of an {@code OpenMBeanOperationInfoSupport} instance is the sum of the hash codes of all elements of information used in {@code equals} comparisons (ie: its name, return open type, impact and signature, where the signature hashCode is calculated by a call to {@code java.util.Arrays.asList(this.getSignature).hashCode()}). This ensures that {@code t1.equals(t2) } implies that {@code t1.hashCode()==t2.hashCode() } for any two {@code OpenMBeanOperationInfoSupport} instances {@code t1} and {@code t2}, as required by the general contract of the method Object.hashCode() . However, note that another instance of a class implementing the {@code OpenMBeanOperationInfo} interface may be equal to this {@code OpenMBeanOperationInfoSupport} instance as defined by #equals(java.lang.Object) , but may have a different hash code if it is calculated differently. As {@code OpenMBeanOperationInfoSupport} instances are immutable, the hash code for this instance is calculated once, on the first call to {@code hashCode}, and then the same value is returned for subsequent calls. |
Returns a string representation of this {@code OpenMBeanOperationInfoSupport} instance. The string representation consists of the name of this class (ie {@code javax.management.openmbean.OpenMBeanOperationInfoSupport}), and the name, signature, return open type and impact of the described operation and the string representation of its descriptor. As {@code OpenMBeanOperationInfoSupport} instances are immutable, the string representation for this instance is calculated once, on the first call to {@code toString}, and then the same value is returned for subsequent calls. |