Describes the management interface exposed by an MBean; that is, the set of attributes and operations which are available for management operations. Instances of this class are immutable. Subclasses may be mutable but this is not recommended.
Usually the {@code MBeanInfo} for any given MBean doesnot change over the lifetime of that MBean. Dynamic MBeans can change their {@code MBeanInfo} and in that case it is recommended that they emit a {@link Notification} with a {@linkplain Notification#getType() type} of {@code "jmx.mbean.info.changed"} and a {@linkplain Notification#getUserData() userData} that is the new {@code MBeanInfo}. This is not required, but provides a conventional way for clients of the MBean to discover the change. See also the immutableInfo and infoTimeout fields in the {@code MBeanInfo} {@link Descriptor}.
The contents of the MBeanInfo
for a Dynamic MBean are determined by its {@link DynamicMBean#getMBeanInfo getMBeanInfo()} method. This includes Open MBeans and ModelMBeans, which are kinds of Dynamic MBeans.
The contents of the MBeanInfo
for a Standard MBean are determined by the MBean server as follows:
getName
, isName
, or setName
method that conforms to the conventions for Standard MBeans; The description returned by {@link #getDescription()} and thedescriptions of the contained attributes and operations are not specified.
The remaining details of the MBeanInfo
for a Standard MBean are not specified. This includes the description of any contained constructors, and notifications; the names of parameters to constructors and operations; and the descriptions of constructor parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|