| javax.management.MBeanConstructorInfo javax.management.modelmbean.ModelMBeanConstructorInfo
ModelMBeanConstructorInfo | public class ModelMBeanConstructorInfo extends MBeanConstructorInfo implements DescriptorAccess,Cloneable(Code) | | 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 : operation name
descriptorType : must be "operation"
role : must be "constructor"
displayName : human readable name of constructor
class : class where method is defined (fully qualified)
visibility : 1-4 where 1: always visible 4: rarely visible
presentationString : xml formatted string to describe how to present operation
PersistencePolicy and CurrencyTimeLimit fields are not valid for the
constructor. The default constructo will have the name, descriptorType,
and role fields.
|
ModelMBeanConstructorInfo | public ModelMBeanConstructorInfo(String description, Constructor constructor)(Code) | | Constructs a MBeanConstructorInfo object with a default descriptor.
Parameters: description - The description of the constructor Parameters: constructor - object describing the MBean constructor. |
ModelMBeanConstructorInfo | public ModelMBeanConstructorInfo(String description, Constructor constructor, Descriptor descriptor)(Code) | | Constructs a MBeanConstructorInfo object with the specified descriptor.
Parameters: description - The description of the constructor Parameters: constructor - object describing the MBean constructor. Parameters: descriptor - An instance of Descriptor containing the appropriatemetadata for this instance of the ModelMBeanConstructorInfo.If it is null or invalid then a default desriptor will be created. |
ModelMBeanConstructorInfo | public ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature)(Code) | | Constructs a MBeanConstructorInfo object with a default descriptor.
Parameters: name - The name of the constructor Parameters: description - The description of the constructor Parameters: signature - MBeanParameterInfo object array describing theparameters of the constructor. |
ModelMBeanConstructorInfo | public ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature, Descriptor descriptor)(Code) | | Constructs a MBeanConstructorInfo object with a default descriptor.
Parameters: name - The name of the constructor Parameters: description - The description of the constructor Parameters: signature - MBeanParameterInfo object array describing theparameters of the constructor. Parameters: descriptor - An instance of Descriptor containing the appropriatemetadata for this instance of the ModelMBeanConstructorInfo.If it is null or invalid then a default desriptor will be created. |
clone | public Object clone()(Code) | | Constructs a duplicate copy ModelMBeanConstructorInfo.
The duplicate copy of the object is returned. |
getDescriptor | public Descriptor getDescriptor()(Code) | | Returns the descriptor
Descriptor associated with the ModelMBeanConstructorInfo object. |
setDescriptor | public void setDescriptor(Descriptor inDescriptor)(Code) | | Sets associated Descriptor of ModelMBeanConstructorInfo. If the new
Descriptor is null, then the associated Descriptor reverts to a default
descriptor. The Descriptor is validated before it is assigned. If the
new Descriptor is invalid, then an IllegalArgumentException is thrown.
Parameters: inDescriptor - replaces the Descriptor associated withthe ModelMBeanConstructor. throws: IllegalArgumentException - If the argument passsed in is illegalthen this Exception will be thrown |
toString | public String toString()(Code) | | Returns a human readable version of the ModelMBeanConstructorInfo instance
|
|
|