createMBean() Create and return a ModelMBean that has been
preconfigured with the ModelMBeanInfo information
for this managed bean, but is not associated with any particular
managed resource.
createMBean(Object instance) Create and return a ModelMBean that has been
preconfigured with the ModelMBeanInfo information
for this managed bean, and is associated with the specified
managed object instance.
Create and return a ModelMBean that has been
preconfigured with the ModelMBeanInfo information
for this managed bean, but is not associated with any particular
managed resource. The returned ModelMBean will
NOT have been registered with our
MBeanServer.
exception: InstanceNotFoundException - if the managed resourceobject cannot be found exception: InvalidTargetObjectTypeException - if our MBean cannothandle object references (should never happen) exception: MBeanException - if a problem occurs instantiating theModelMBean instance exception: RuntimeOperationsException - if a JMX runtime error occurs
Create and return a ModelMBean that has been
preconfigured with the ModelMBeanInfo information
for this managed bean, and is associated with the specified
managed object instance. The returned ModelMBean
will NOT have been registered with our
MBeanServer.
Parameters: instance - Instanced of the managed object, or nullfor no associated instance exception: InstanceNotFoundException - if the managed resourceobject cannot be found exception: InvalidTargetObjectTypeException - if our MBean cannothandle object references (should never happen) exception: MBeanException - if a problem occurs instantiating theModelMBean instance exception: RuntimeOperationsException - if a JMX runtime error occurs
The fully qualified name of the Java class of the MBean
described by this descriptor. If not specified, the standard JMX
class (javax.management.modelmbean.RequiredModeLMBean)
will be utilized.