is new.
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanConstructorInfo
javax.management.modelmbean.ModelMBeanConstructorInfo
public class ModelMBeanConstructorInfo
The ModelMBeanConstructorInfo object describes a constructor of the ModelMBean. It is a subclass of MBeanConstructorInfo with the addition of an associated Descriptor and an implementation of the DescriptorAccess interface.
The fields in the descriptor are defined, but not limited to, the following:name : constructor name descriptorType : must be "operation" role : must be "constructor" displayName : human readable name of constructor visibility : 1-4 where 1: always visible 4: rarely visible presentationString : xml formatted string to describe how to present operation
The persistPolicy and currencyTimeLimit fields are meaningless for constructors, but are not considered invalid.
The default descriptor will have the name, descriptorType, displayName and role fields.
The
serialVersionUID
of this class is 3862947819818064362L.
| Field Summary |
|---|
| Fields inherited from class javax.management. MBeanFeatureInfo |
|---|
| description , name |
| Constructor Summary | |
|---|---|
|
ModelMBeanConstructorInfo
(
String
description,
Constructor
Constructs a
ModelMBeanConstructorInfo
|
|
|
ModelMBeanConstructorInfo
(
String
description,
Constructor
constructorMethod,
Descriptor
Constructs a
ModelMBeanConstructorInfo
|
|
|
ModelMBeanConstructorInfo
(
String
name,
String
description,
MBeanParameterInfo
[] signature) Constructs a ModelMBeanConstructorInfo object with a default descriptor. |
|
|
ModelMBeanConstructorInfo
(
String
name,
String
description,
MBeanParameterInfo
[] signature,
Descriptor
Constructs a
ModelMBeanConstructorInfo
|
|
| Method Summary | |
|---|---|
| Object |
clone
() Creates and returns a new ModelMBeanConstructorInfo which is a duplicate of this ModelMBeanConstructorInfo. |
| Descriptor |
getDescriptor
() Returns a copy of the associated Descriptor. |
| void |
setDescriptor
(
Descriptor
inDescriptor) Sets associated Descriptor (full replace) of ModelMBeanConstructorInfo. |
| String |
toString
() Returns a string containing the entire contents of the ModelMBeanConstructorInfo in human readable form. |
| 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)
Constructs a ModelMBeanConstructorInfo object with a default descriptor. The
Descriptor
of the constructed object will include fields contributed by any annotations on the Constructor object that contain the
DescriptorKey
meta-annotation.
java.lang.reflect.Constructor
public ModelMBeanConstructorInfo(String description,
Constructor constructorMethod,
Descriptor descriptor)
Constructs a ModelMBeanConstructorInfo object. The
Descriptor
of the constructed object will include fields contributed by any annotations on the Constructor object that contain the
DescriptorKey
meta-annotation.
java.lang.reflect.Constructor
public ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
public ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
ModelMBeanConstructorInfo
| Method Detail |
|---|
public Object clone()
public Descriptor getDescriptor()
public void setDescriptor(Descriptor inDescriptor)
public String toString()