|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.MBeanFeatureInfo (src)
javax.management.MBeanOperationInfo (src)
javax.management.modelmbean.ModelMBeanOperationInfo
Represents Model MBean operation.
ModelMBeanInfo
(src) ,
ModelMBeanInfoSupport
(src) ,
Serialized FormField Summary |
Fields inherited from class javax.management.MBeanOperationInfo (src) |
ACTION, ACTION_INFO, INFO, UNKNOWN |
Fields inherited from class javax.management.MBeanFeatureInfo (src) |
description, name |
Constructor Summary | |
ModelMBeanOperationInfo(ModelMBeanOperationInfo (src) info)
Copy constructor. |
|
ModelMBeanOperationInfo(java.lang.String description,
java.lang.reflect.Method operationMethod)
Creates a new operation info with a default descriptor. |
|
ModelMBeanOperationInfo(java.lang.String description,
java.lang.reflect.Method operationMethod,
Descriptor (src) descriptor)
Creates a new operation info with a given descriptor. |
|
ModelMBeanOperationInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo (src) [] signature,
java.lang.String type,
int impact)
Creates a new operation info with a default descriptor. |
|
ModelMBeanOperationInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo (src) [] signature,
java.lang.String type,
int impact,
Descriptor (src) descriptor)
Creates a new operation info with a given descriptor. |
Method Summary | |
java.lang.Object |
clone()
Creates a copy of this object. |
Descriptor (src) |
getDescriptor()
Returns a copy of the descriptor associated with this operation. |
void |
setDescriptor(Descriptor (src) inDescriptor)
Replaces the descriptor associated with this operation. |
java.lang.String |
toString()
Returns a string representation of this Model MBean operation info object. |
Methods inherited from class javax.management.MBeanOperationInfo (src) |
equals, getImpact, getReturnType, getSignature, hashCode |
Methods inherited from class javax.management.MBeanFeatureInfo (src) |
getDescription, getName |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ModelMBeanOperationInfo(java.lang.String description, java.lang.reflect.Method operationMethod)
description
- human readable description stringoperationMethod
- a Method instance representing the
management operationpublic ModelMBeanOperationInfo(java.lang.String description, java.lang.reflect.Method operationMethod, Descriptor (src) descriptor)
description
- human readable description stringoperationMethod
- a Method instance representing the management
operationdescriptor
- a descriptor to associate with this operationpublic ModelMBeanOperationInfo(java.lang.String name, java.lang.String description, MBeanParameterInfo (src) [] signature, java.lang.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(java.lang.String name, java.lang.String description, MBeanParameterInfo (src) [] signature, java.lang.String type, int impact, Descriptor (src) 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 (src) info)
info
- the operation info to copyMethod Detail |
public Descriptor (src) getDescriptor()
getDescriptor
in interface DescriptorAccess (src)
public void setDescriptor(Descriptor (src) inDescriptor)
setDescriptor
in interface DescriptorAccess (src)
inDescriptor
- descriptor used for replacing the existing operation descriptor
java.lang.IllegalArgumentException
- if the new descriptor is not validpublic java.lang.Object clone()
clone
in class MBeanOperationInfo (src)
public java.lang.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 (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |