|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.MBeanFeatureInfo javax.management.MBeanOperationInfo javax.management.modelmbean.ModelMBeanOperationInfo
Represents Model MBean operation.
ModelMBeanInfo
,
ModelMBeanInfoSupport
,
Serialized FormField 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 operationpublic 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 operationpublic 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
, UNKNOWN
descriptor
- a descriptor to associate with this operationpublic ModelMBeanOperationInfo(ModelMBeanOperationInfo info)
info
- the operation info to copyMethod Detail |
public Descriptor getDescriptor()
getDescriptor
in interface DescriptorAccess
public void setDescriptor(Descriptor inDescriptor)
setDescriptor
in interface DescriptorAccess
inDescriptor
- descriptor used for replacing the existing operation descriptor
IllegalArgumentException
- if the new descriptor is not validpublic Object clone()
clone
in class MBeanOperationInfo
public 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 |