Class JMXStartupService

java.lang.Object
org.glassfish.admin.mbeanserver.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 initialize (boot) AMX when a connection arrives.
  • Field Details

  • Constructor Details

    • JMXStartupService

      public JMXStartupService()
  • Method Details

    • waitUntilJMXConnectorStarted

      public void waitUntilJMXConnectorStarted()
    • postConstruct

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

      public static final Set<ObjectName> getJMXConnectorServers(MBeanServer server)
    • getJMXServiceURLs

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