public static class AMXGlassfish.BootAMXCallback extends MBeanListener.CallbackImpl
MBeanListener
that waits for the BootAMXMBean to appear;
it always will load early in server startup. Once it has loaded, AMX can be booted
via AMXGlassfish.bootAMX(javax.management.MBeanServerConnection)
. A client should normally just call AMXGlassfish.bootAMX(javax.management.MBeanServerConnection)
, but
this callback may be suclassed if desired, and used as a trigger to
boot AMX and then take other dependent actions.mLatch
Constructor and Description |
---|
AMXGlassfish.BootAMXCallback(MBeanServerConnection conn) |
Modifier and Type | Method and Description |
---|---|
void |
mbeanRegistered(ObjectName objectName,
MBeanListener listener) |
await, getRegistered, getUnregistered, mbeanUnregistered
public AMXGlassfish.BootAMXCallback(MBeanServerConnection conn)
public void mbeanRegistered(ObjectName objectName, MBeanListener listener)
mbeanRegistered
in interface MBeanListener.Callback
mbeanRegistered
in class MBeanListener.CallbackImpl
Copyright © 2017 Oracle. All rights reserved.