|
||||||||||
| 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
public class ModelMBeanConstructorInfo
Represents constructor.
20020715 Adrian Brock:
ModelMBeanInfo,
ModelMBeanInfoSupport,
Serialized Form| Field 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 constructor
public 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 constructor
public ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
name - name for the constructordescription - human readable description stringsignature - constructor signature
public 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 constructor| Method Detail |
|---|
public Descriptor getDescriptor()
getDescriptor in interface DescriptorAccesspublic void setDescriptor(Descriptor inDescriptor)
setDescriptor in interface DescriptorAccessinDescriptor - descriptor used for replacing the existing constructor descriptor
IllegalArgumentException - if the new descriptor is not validpublic Object clone()
clone in class MBeanConstructorInfopublic String toString()
toString in class MBeanConstructorInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||