|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glassfish.gmbal.impl.JMXRegistrationManager
public class JMXRegistrationManager
A simple class that implements deferred registration. When registration is suspended, mbean registrations are queued until registration is resumed, at which time the registration are processed in order.
Constructor Summary | |
---|---|
JMXRegistrationManager(ManagedObjectManagerInternal mom,
javax.management.ObjectName rootParentName)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMXRegistrationManager(ManagedObjectManagerInternal mom, javax.management.ObjectName rootParentName)
Method Detail |
---|
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 register
javax.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |