| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanOperationInfo
javax.management.modelmbean.ModelMBeanOperationInfo
Represents Model MBean operation.
Revisions:
20020320 Juha Lindfors:
20020715 Adrian Brock:
ModelMBeanInfo, 
ModelMBeanInfoSupport, 
Serialized Form| Field Summary | 
| Fields inherited from class javax.management.MBeanOperationInfo | 
| ACTION, ACTION_INFO, INFO, UNKNOWN | 
| Fields inherited from class javax.management.MBeanFeatureInfo | 
| description, name | 
| Constructor Summary | |
| ModelMBeanOperationInfo(ModelMBeanOperationInfo info)Copy constructor. | |
| ModelMBeanOperationInfo(String description,
                        Method operationMethod)Creates a new operation info with a default descriptor. | |
| ModelMBeanOperationInfo(String description,
                        Method operationMethod,
                        Descriptor descriptor)Creates a new operation info with a given descriptor. | |
| ModelMBeanOperationInfo(String name,
                        String description,
                        MBeanParameterInfo[] signature,
                        String type,
                        int impact)Creates a new operation info with a default descriptor. | |
| ModelMBeanOperationInfo(String name,
                        String description,
                        MBeanParameterInfo[] signature,
                        String type,
                        int impact,
                        Descriptor descriptor)Creates a new operation info with a given descriptor. | |
| Method Summary | |
|  Object | clone()Creates a copy of this object. | 
|  Descriptor | getDescriptor()Returns a copy of the descriptor associated with this operation. | 
|  void | setDescriptor(Descriptor inDescriptor)Replaces the descriptor associated with this operation. | 
|  String | toString()Returns a string representation of this Model MBean operation info object. | 
| Methods inherited from class javax.management.MBeanOperationInfo | 
| equals, getImpact, getReturnType, getSignature, hashCode | 
| 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 | 
public ModelMBeanOperationInfo(String description,
                               Method operationMethod)
description - human readable description stringoperationMethod - a Method instance representing the
          management operation
public ModelMBeanOperationInfo(String description,
                               Method operationMethod,
                               Descriptor descriptor)
description - human readable description stringoperationMethod - a Method instance representing the management
          operationdescriptor - a descriptor to associate with this operation
public ModelMBeanOperationInfo(String name,
                               String description,
                               MBeanParameterInfo[] signature,
                               String type,
                               int impact)
name - name of the operationdescription - human readable description stringsignature - operation signaturetype - a fully qualified name of the operations return typeimpact - operation impact: INFO, ACTION, ACTION_INFO, UNKNOWN
public ModelMBeanOperationInfo(String name,
                               String description,
                               MBeanParameterInfo[] signature,
                               String type,
                               int impact,
                               Descriptor descriptor)
name - name of the operationdescription - human readable description stringsignature - operation signaturetype - a fully qualified name of the oeprations return typeimpact - operation impact: INFO, ACTION, ACTION_INFO, UNKNOWNdescriptor - a descriptor to associate with this operationpublic ModelMBeanOperationInfo(ModelMBeanOperationInfo info)
| Method Detail | 
public Descriptor getDescriptor()
getDescriptor in interface DescriptorAccesspublic void setDescriptor(Descriptor inDescriptor)
setDescriptor in interface DescriptorAccessinDescriptor - descriptor used for replacing the existing operation descriptor
IllegalArgumentException - if the new descriptor is not valid
public Object clone()
             throws CloneNotSupportedException
clone in class MBeanOperationInfoCloneNotSupportedException - if there was a failure creating the copypublic String toString()
ModelMBeanOperationInfo[<return type> <operation name>(<signature>), Impact=ACTION | INFO | ACTION_INFO | UNKNOWN, Descriptor=(fieldName1=fieldValue1, ... , fieldName<n>=fieldValue<n>)]
toString in class MBeanOperationInfo| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||