|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanOperationInfo
Describes an operation exposed by an MBean This implementation protects its immutability by taking shallow clones of all arrays supplied in constructors and by returning shallow array clones in getXXX() methods.
Revisions:
20020711 Adrian Brock:
Field Summary | |
static int |
ACTION
Management operation impact: ACTION. |
static int |
ACTION_INFO
Management operation impact: ACTION_INFO. |
static int |
INFO
Management operation impact: INFO. |
static int |
UNKNOWN
Management operation impact: UNKNOWN. |
Fields inherited from class javax.management.MBeanFeatureInfo |
description, name |
Constructor Summary | |
MBeanOperationInfo(String description,
Method method)
Constructs management operation metadata from a given Method object and description. |
|
MBeanOperationInfo(String name,
String description,
MBeanParameterInfo[] signature,
String returnType,
int impact)
Constructs a management operation metadata. |
Method Summary | |
Object |
clone()
Creates a copy of this object. |
boolean |
equals(Object object)
|
int |
getImpact()
Returns the impact of this operation. |
String |
getReturnType()
Returns a fully qualified class name of the return type of this operation. |
MBeanParameterInfo[] |
getSignature()
Returns the signature of this operation. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class javax.management.MBeanFeatureInfo |
getDescription, getName |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int INFO
public static final int ACTION
public static final int ACTION_INFO
public static final int UNKNOWN
Constructor Detail |
public MBeanOperationInfo(String description, Method method)
description
- human readable description of this operationmethod
- used for build the metadata for the management operationpublic MBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String returnType, int impact)
name
- name of the management operationdescription
- human readable description string of the operationsignature
- signature of the operationreturnType
- return type of the operation as a fully qualified class nameimpact
- impact of this operation: ACTION
, INFO
, ACTION_INFO
or UNKNOWN
IllegalArgumentException
- if the name or return type is not a valid java identifier or it is a reserved word
or the impact is invalidMethod Detail |
public String getReturnType()
public MBeanParameterInfo[] getSignature()
public int getImpact()
ACTION
, INFO
, ACTION_INFO
or UNKNOWN
(reserved for Standard MBeans).
public boolean equals(Object object)
equals
in class MBeanFeatureInfo
public int hashCode()
hashCode
in class MBeanFeatureInfo
public String toString()
toString
in class MBeanFeatureInfo
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- if there was a failure trying to copy the object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |