| javax.management.MBeanOperationInfo javax.management.modelmbean.ModelMBeanOperationInfo
Constructor Summary | |
public | ModelMBeanOperationInfo(String description, Method operationMethod) Creates a new operation info with a default descriptor. | public | ModelMBeanOperationInfo(String description, Method operationMethod, Descriptor descriptor) Creates a new operation info with a given descriptor. | public | ModelMBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact) Creates a new operation info with a default descriptor. | public | ModelMBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact, Descriptor descriptor) Creates a new operation info with a given descriptor. | public | ModelMBeanOperationInfo(ModelMBeanOperationInfo info) Copy constructor. |
Method Summary | |
public synchronized Object | clone() Creates a copy of this object. | public Descriptor | getDescriptor() Returns a copy of the descriptor associated with this operation. | public void | setDescriptor(Descriptor inDescriptor) Replaces the descriptor associated with this operation. | public String | toString() Returns a string representation of this Model MBean operation info object.
The returned string is in the form:
ModelMBeanOperationInfo[<return type> <operation name>(<signature>),
Impact=ACTION | INFO | ACTION_INFO | UNKNOWN,
Descriptor=(fieldName1=fieldValue1, ... |
ModelMBeanOperationInfo | public ModelMBeanOperationInfo(String description, Method operationMethod)(Code) | | Creates a new operation info with a default descriptor.
Parameters: description - human readable description string Parameters: operationMethod - a Method instance representing themanagement operation |
ModelMBeanOperationInfo | public ModelMBeanOperationInfo(String description, Method operationMethod, Descriptor descriptor)(Code) | | Creates a new operation info with a given descriptor. If a null or
invalid descriptor is passed as a paramter, a default descriptor will be created
for the operation.
Parameters: description - human readable description string Parameters: operationMethod - a Method instance representing the managementoperation Parameters: descriptor - a descriptor to associate with this operation |
ModelMBeanOperationInfo | public ModelMBeanOperationInfo(ModelMBeanOperationInfo info)(Code) | | Copy constructor.
Parameters: info - the operation info to copy |
clone | public synchronized Object clone()(Code) | | Creates a copy of this object.
clone of this object |
getDescriptor | public Descriptor getDescriptor()(Code) | | Returns a copy of the descriptor associated with this operation.
a copy of this operation's associated descriptor |
setDescriptor | public void setDescriptor(Descriptor inDescriptor)(Code) | | Replaces the descriptor associated with this operation. If the inDescriptor
argument is null then the existing descriptor is replaced with a default
descriptor.
Parameters: inDescriptor - descriptor used for replacing the existing operation descriptor throws: IllegalArgumentException - if the new descriptor is not valid |
toString | public String toString()(Code) | | Returns a string representation of this Model MBean operation info object.
The returned string is in the form:
ModelMBeanOperationInfo[<return type> <operation name>(<signature>),
Impact=ACTION | INFO | ACTION_INFO | UNKNOWN,
Descriptor=(fieldName1=fieldValue1, ... , fieldName<n>=fieldValue<n>)]
string representation of this object |
|
|