|
||||||||||
| 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,
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,
ObjectName rootParentName)
| Method Detail |
|---|
public void setRoot(MBeanImpl root)
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
root - The root of the tree.
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanExceptionpublic void suspendRegistration()
public void resumeRegistration()
public void register(MBeanImpl mb)
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
mb - The MBeanImpl to register
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
public void unregister(MBeanImpl mb)
throws InstanceNotFoundException,
MBeanRegistrationException
mb - The MBean to unregister.
InstanceNotFoundException
MBeanRegistrationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||