Package org.glassfish.admin.mbeanserver
Class BootAMX
- java.lang.Object
-
- org.glassfish.admin.mbeanserver.BootAMX
-
- All Implemented Interfaces:
org.glassfish.external.amx.BootAMXMBean
@Service public final class BootAMX extends Object implements org.glassfish.external.amx.BootAMXMBean
The MBean implementation for BootAMXMBean. Public API is the name of the booter MBean egBootAMXMBean.OBJECT_NAME
-
-
Constructor Summary
Constructors Constructor Description BootAMX()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectName
bootAMX()
We need to dynamically load the AMX module.static ObjectName
getBootAMXMBeanObjectName()
JMXServiceURL[]
getJMXServiceURLs()
Return the JMXServiceURLs for all connectors we've loaded.void
postConstuct()
void
shutdown()
-
-
-
Method Detail
-
postConstuct
@PostConstruct public void postConstuct()
-
getBootAMXMBeanObjectName
public static ObjectName getBootAMXMBeanObjectName()
-
bootAMX
public ObjectName bootAMX()
We need to dynamically load the AMX module. HOW? we can't depend on the amx-impl module. For now though, assume that a well-known MBean is available through other means via the amx-impl module.- Specified by:
bootAMX
in interfaceorg.glassfish.external.amx.BootAMXMBean
- Returns:
-
getJMXServiceURLs
public JMXServiceURL[] getJMXServiceURLs()
Return the JMXServiceURLs for all connectors we've loaded.- Specified by:
getJMXServiceURLs
in interfaceorg.glassfish.external.amx.BootAMXMBean
- Returns:
-
shutdown
@PreDestroy public void shutdown()
-
-