| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACTION
Indicates that the operation is write-like: it has an effect but does not return any information from the MBean. |
| public static final int | ACTION_INFO
Indicates that the operation is both read-like and write-like: it has an effect, and it also returns information from the MBean. |
| private final transient boolean | |
| private final int | |
| public static final int | INFO
Indicates that the operation is read-like: it returns information but does not change any state. |
| pack-priv static final MBeanOperationInfo[] | |
| pack-priv static final long | |
| private final MBeanParameterInfo[] | |
| private final String | |
| public static final int | UNKNOWN
Indicates that the impact of the operation is unknown or cannot be expressed using one of the other values. |
| Access | Constructor and Description |
|---|---|
| public | MBeanOperationInfo(String
A human readable description of the operation. description, Method The method)java.lang.reflect.Method object
describing the MBean operation.Constructs an |
| public | MBeanOperationInfo(String
The name of the method. name, String A human readable description of the operation. description, MBeanParameterInfo[] MBeanParameterInfo objects
describing the parameters(arguments) of the method. This may be
null with the same effect as a zero-length array.The type of the method's return value. type, int impact)Constructs an |
| public | MBeanOperationInfo(String
The name of the method. name, String A human readable description of the operation. description, MBeanParameterInfo[] MBeanParameterInfo objects
describing the parameters(arguments) of the method. This may be
null with the same effect as a zero-length array.The type of the method's return value. type, int impact, Descriptor The descriptor for the operation. This may be null
which is equivalent to an empty descriptor. descriptor)Constructs an |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | Returns: true if and only ifo is an MBeanOperationInfo such
that its getName(), getReturnType(), getDescription(), getImpact(), getDescriptor()
and getSignature() values are equal (not necessarily identical)
to those of this MBeanConstructorInfo. Two signature arrays
are equal if their elements are pairwise equal.the object to compare to. o)Overrides javax. Compare this MBeanOperationInfo to another. |
| private MBeanParameterInfo[] | |
| public int | Returns: the impact code.Returns the impact of the method, one of
|
| public String | |
| public MBeanParameterInfo[] | Returns: An array ofMBeanParameterInfo objects.Returns the list of parameters for this operation. |
| public int | hashCode()
Overrides javax. Returns a hash code value for this object. |
| private static MBeanParameterInfo[] | |
| pack-priv static MBeanParameterInfo[] | |
| public String |
| ACTION | back to summary |
|---|---|
| public static final int ACTION Indicates that the operation is write-like: it has an effect but does not return any information from the MBean. | |
| ACTION_INFO | back to summary |
|---|---|
| public static final int ACTION_INFO Indicates that the operation is both read-like and write-like: it has an effect, and it also returns information from the MBean. | |
| arrayGettersSafe | back to summary |
|---|---|
private final transient boolean arrayGettersSafe
| |
| impact | back to summary |
|---|---|
| private final int impact | |
| INFO | back to summary |
|---|---|
| public static final int INFO Indicates that the operation is read-like: it returns information but does not change any state. | |
| NO_OPERATIONS | back to summary |
|---|---|
| pack-priv static final MBeanOperationInfo[] NO_OPERATIONS | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| signature | back to summary |
|---|---|
| private final MBeanParameterInfo[] signature | |
| type | back to summary |
|---|---|
| private final String type | |
| UNKNOWN | back to summary |
|---|---|
| public static final int UNKNOWN Indicates that the impact of the operation is unknown or cannot be expressed using one of the other values. | |
| MBeanOperationInfo | back to summary |
|---|---|
| public MBeanOperationInfo(String description, Method method) Constructs an | |
| MBeanOperationInfo | back to summary |
|---|---|
| public MBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact) Constructs an
| |
| MBeanOperationInfo | back to summary |
|---|---|
| public MBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact, Descriptor descriptor) Constructs an
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Returns a shallow clone of this instance.
The clone is obtained by simply calling Since this class is immutable, cloning is chiefly of interest to subclasses.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides javax. Compare this MBeanOperationInfo to another.
| |
| fastGetSignature | back to summary |
|---|---|
| private MBeanParameterInfo[] fastGetSignature() | |
| getImpact | back to summary |
|---|---|
| public int getImpact() Returns the impact of the method, one of
| |
| getReturnType | back to summary |
|---|---|
| public String getReturnType() Returns the type of the method's return value.
| |
| getSignature | back to summary |
|---|---|
| public MBeanParameterInfo[] getSignature() Returns the list of parameters for this operation. Each
parameter is described by an The returned array is a shallow copy of the internal array,
which means that it is a copy of the internal array of
references to the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javax. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| methodSignature | back to summary |
|---|---|
| private static MBeanParameterInfo[] methodSignature(Method method) | |
| parameters | back to summary |
|---|---|
| pack-priv static MBeanParameterInfo[] parameters(Class<?>[] classes, Annotation[][] annots) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |