Class JMXStartupService

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service
    @RunLevel(mode=0,
              value=20)
    public final class JMXStartupService
    extends Object
    implements org.glassfish.hk2.api.PostConstruct
    Responsible for creating the BootAMXMBean, and starting JMXConnectors, which will initialise (boot) AMX when a connection arrives.
    • Constructor Detail

      • JMXStartupService

        public JMXStartupService()
    • Method Detail

      • waitUntilJMXConnectorStarted

        public void waitUntilJMXConnectorStarted()
      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • getJMXServiceURLs

        public static JMXServiceURL[] getJMXServiceURLs​(MBeanServer server)
        Return the JMXServiceURLs for all connectors we've loaded.
        Parameters:
        server -
        Returns: