|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanConstructorInfo
javax.management.modelmbean.ModelMBeanConstructorInfo
Represents constructor.
20020715 Adrian Brock:
ModelMBeanInfo
,
ModelMBeanInfoSupport
,
Serialized FormField Summary |
Fields inherited from class javax.management.MBeanFeatureInfo |
description, name |
Constructor Summary | |
ModelMBeanConstructorInfo(String description,
Constructor constructorMethod)
Creates a new constructor info with a default descriptor. |
|
ModelMBeanConstructorInfo(String description,
Constructor constructorMethod,
Descriptor descriptor)
Creates a new constructor info with a given descriptor. |
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
Creates a new constructor info with default descriptor. |
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
Creates a new constructor info with a given descriptor. |
Method Summary | |
Object |
clone()
|
Descriptor |
getDescriptor()
Returns a copy of the descriptor associated with this constructor. |
void |
setDescriptor(Descriptor inDescriptor)
Replaces the descriptor associated with this constructor. |
String |
toString()
|
Methods inherited from class javax.management.MBeanConstructorInfo |
equals, 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 ModelMBeanConstructorInfo(String description, Constructor constructorMethod)
description
- human readable description stringconstructorMethod
- a Constructor instance representing the MBean constructorpublic ModelMBeanConstructorInfo(String description, Constructor constructorMethod, Descriptor descriptor)
description
- human readable description stringconstructorMethod
- a Constructor instance representing the MBean constructordescriptor
- a descriptor to associate with this constructorpublic ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature)
name
- name for the constructordescription
- human readable description stringsignature
- constructor signaturepublic ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature, Descriptor descriptor)
name
- name for the constructordescription
- human readable description stringsignature
- constructor signaturedescriptor
- a descriptor to associate with this constructorMethod Detail |
public Descriptor getDescriptor()
getDescriptor
in interface DescriptorAccess
public void setDescriptor(Descriptor inDescriptor)
setDescriptor
in interface DescriptorAccess
inDescriptor
- descriptor used for replacing the existing constructor descriptor
IllegalArgumentException
- if the new descriptor is not validpublic Object clone()
clone
in class MBeanConstructorInfo
public String toString()
toString
in class MBeanConstructorInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |