javax.jmx.openmbean
Class OpenMBeanOperationInfo
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
|
+--javax.management.MBeanOperationInfo
|
+--javax.jmx.openmbean.OpenMBeanOperationInfo
- public class OpenMBeanOperationInfo
- extends MBeanOperationInfo
- implements java.io.Serializable
The OpenMBeanOperationInfo object describes a management operation exposed by an open MBean.
- See Also:
- Serialized Form
|
Constructor Summary |
OpenMBeanOperationInfo(java.lang.String description,
java.lang.reflect.Method method)
Constructs an OpenMBeanOperationInfo object. |
OpenMBeanOperationInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo[] signature,
java.lang.String type,
int impact)
Constructs an OpenMBeanOperationInfo object. |
| Methods inherited from class java.lang.Object |
,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
OpenMBeanOperationInfo
public OpenMBeanOperationInfo(java.lang.String description,
java.lang.reflect.Method method)
- Constructs an OpenMBeanOperationInfo object.
- Parameters:
method - The java.lang.reflect.Method object describing the open MBean operation.
OpenMBeanOperationInfo
public OpenMBeanOperationInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo[] signature,
java.lang.String type,
int impact)
throws java.lang.Exception
- Constructs an OpenMBeanOperationInfo object.
- Parameters:
name - The name of the method.description - A human readable description of the operation.signature - OpenMBeanParameterInfo objects describing the parameters(arguments) of
the method.type - The type of the method's return value.impact - The impact of the method, one of INFO, ACTION, ACTION_INFO,
UNKNOWN.
getSignature
public MBeanParameterInfo[] getSignature()
- Getter for the parameters info for this operation
- Overrides:
- getSignature in class MBeanOperationInfo
- Returns:
- array of MBeanParameterInfo