Class 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 eg BootAMXMBean.OBJECT_NAME
    • Constructor Detail

      • BootAMX

        public BootAMX()
    • 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 interface org.glassfish.external.amx.BootAMXMBean
        Returns:
      • getJMXServiceURLs

        public JMXServiceURL[] getJMXServiceURLs()
        Return the JMXServiceURLs for all connectors we've loaded.
        Specified by:
        getJMXServiceURLs in interface org.glassfish.external.amx.BootAMXMBean
        Returns:
      • shutdown

        @PreDestroy
        public void shutdown()