| java.lang.Object javax.management.MBeanInfo javax.management.modelmbean.ModelMBeanInfoSupport
Constructor Summary | |
public | ModelMBeanInfoSupport(ModelMBeanInfo mbi) Copy constructor for Model MBean info. | public | ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] modelAttributes, ModelMBeanConstructorInfo[] modelConstructors, ModelMBeanOperationInfo[] modelOperations, ModelMBeanNotificationInfo[] modelNotifications) Creates an instance of Model MBean info implementation based on the given
values. | public | ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] modelAttributes, ModelMBeanConstructorInfo[] modelConstructors, ModelMBeanOperationInfo[] modelOperations, ModelMBeanNotificationInfo[] modelNotifications, Descriptor mbeandescriptor) Creates an instance of Model MBean info implementation based on the given
values and descriptor. |
ModelMBeanInfoSupport | public ModelMBeanInfoSupport(ModelMBeanInfo mbi)(Code) | | Copy constructor for Model MBean info. This instance is initialized with
the values of the given Model MBean info.
Parameters: mbi - Model MBean info used to initialize this instance |
ModelMBeanInfoSupport | public ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] modelAttributes, ModelMBeanConstructorInfo[] modelConstructors, ModelMBeanOperationInfo[] modelOperations, ModelMBeanNotificationInfo[] modelNotifications)(Code) | | Creates an instance of Model MBean info implementation based on the given
values. The Model MBean is configured with a default MBean descriptor.
Parameters: className - name of the Model MBean implementation class Parameters: description - human readable description string for this Model MBean Parameters: modelAttributes - an array of Model MBean attribute metadata to describethe management modelAttributes of this Model MBean Parameters: modelConstructors - an array of Model MBean constructor metadata thatdescribes the modelConstructors of this Model MBeanimplementation class Parameters: modelOperations - an array of Model MBean operation metadata to describethe management modelOperations of this Model MBean Parameters: modelNotifications - an array of Model MBean notification metadata todescribe the management modelNotifications of this Model MBean |
ModelMBeanInfoSupport | public ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] modelAttributes, ModelMBeanConstructorInfo[] modelConstructors, ModelMBeanOperationInfo[] modelOperations, ModelMBeanNotificationInfo[] modelNotifications, Descriptor mbeandescriptor) throws RuntimeOperationsException(Code) | | Creates an instance of Model MBean info implementation based on the given
values and descriptor.
Parameters: className - name of the Model MBean implementation class Parameters: description - human readable description string for this Model MBean Parameters: modelAttributes - an array of Model MBean attribute metadata to describethe management modelAttributes of this Model MBean Parameters: modelConstructors - an array of Model MBean constructor metadata thatdescribes the modelConstructors of this Model MBeanimplementation class Parameters: modelOperations - an array of Model MBean operation metadata to describethe management modelOperations of this Model MBean Parameters: modelNotifications - an array of Model MBean notification metadata todescribe the management modelNotifications of this Model MBean Parameters: mbeandescriptor - descriptor for the MBean |
setDescriptors | public void setDescriptors(Descriptor[] inDescriptors) throws MBeanException(Code) | | Adds or replaces the descriptors in this Model MBean. All descriptors
must be valid. Null references will be ignored.
Parameters: inDescriptors - array of descriptors |
setMBeanDescriptor | public void setMBeanDescriptor(Descriptor inDescriptor) throws MBeanException, RuntimeOperationsException(Code) | | Sets the ModelMBean's descriptor. This descriptor contains default, MBean wide metadata about the MBean and
default policies for persistence and caching. This operation does a complete replacement of the descriptor,
no merging is done.
If the descriptor to set to is null then the default descriptor will be created.
The default descriptor is: name=mbeanName,descriptorType=mbean, displayName=this.getClassName(), persistPolicy=never,log=F,export=F,visiblity=1
If the descriptor does not contain all these fields, they will be added with these default values.
See getMBeanDescriptor method javadoc for description of valid field names.
|
|
|