public class JMXRegistrationManager
extends java.lang.Object
Constructor and Description |
---|
JMXRegistrationManager(ManagedObjectManagerInternal mom,
javax.management.ObjectName rootParentName) |
Modifier and Type | Method and Description |
---|---|
void |
register(MBeanImpl mb)
Handle registration of this MBean.
|
void |
resumeRegistration()
Decrement the suspended registration count.
|
void |
setRoot(MBeanImpl root)
Set the MBeanImpl that is the root of this MBean tree.
|
void |
suspendRegistration()
Increment the suspended registration count.
|
void |
unregister(MBeanImpl mb)
Unregister the MBean.
|
public JMXRegistrationManager(ManagedObjectManagerInternal mom, javax.management.ObjectName rootParentName)
public void setRoot(MBeanImpl root) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException
root
- The root of the tree.javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
public void suspendRegistration()
public void resumeRegistration()
public void register(MBeanImpl mb) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException
mb
- The MBeanImpl to registerjavax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
public void unregister(MBeanImpl mb) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException
mb
- The MBean to unregister.javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException