Uses the default contructor. @param className the class name of the mbean @param name the object name for registration, can be null @return an ObjectInstance describing the registration @exception ReflectionException for class not found or an exceptioninvoking the contructor @exception InstanceAlreadyExistsException for an MBean already registeredwith the passed or generated ObjectName @exception MBeanRegistrationException for any exception thrown by theMBean's preRegister @exception MBeanException for any exception thrown by the MBean's constructor @exception NotCompliantMBeanException if the class name does not correspond toa valid MBean @exception RuntimeOperationsException wrapping an IllegalArgumentException for anull class name, the ObjectName could not be determined or it is a pattern
Uses the default contructor. @param className the class name of the mbean @param name the object name for registration, can be null @return an ObjectInstance describing the registration @exception ReflectionException for class not found or an exceptioninvoking the contructor @exception InstanceAlreadyExistsException for an MBean already registeredwith the passed or generated ObjectName @exception MBeanRegistrationException for any exception thrown by theMBean's preRegister @exception MBeanException for any exception thrown by the MBean's constructor @exception NotCompliantMBeanException if the class name does not correspond toa valid MBean @exception RuntimeOperationsException wrapping an IllegalArgumentException for anull class name, the ObjectName could not be determined or it is a pattern @exception IOException for a communication problem during this operation
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
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
.
@param instance Instanced of the managed object, or null
for no associated instance
@exception InstanceNotFoundException if the managed resourceobject cannot be found
@exception MBeanException if a problem occurs instantiating theModelMBean
instance
@exception RuntimeOperationsException if a JMX runtime error occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|