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

Fields inherited from class javax.management.MBeanOperationInfo
ACTION, ACTION_INFO, INFO, NO_OPERATIONS, UNKNOWN
 
Fields inherited from class javax.management.MBeanFeatureInfo
description, name
 
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.
 
Method Summary
 MBeanParameterInfo[] getSignature()
          Getter for the parameters info for this operation
 
Methods inherited from class javax.management.MBeanOperationInfo
clone, equals, getImpact, getReturnType, hashCode, toString
 
Methods inherited from class javax.management.MBeanFeatureInfo
getDescription, getName
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getSignature

public MBeanParameterInfo[] getSignature()
Getter for the parameters info for this operation
Overrides:
getSignature in class MBeanOperationInfo
Returns:
array of MBeanParameterInfo