org.glassfish.admin.mbeanserver
Class JMXStartupService

java.lang.Object
  extended by org.glassfish.admin.mbeanserver.JMXStartupService
All Implemented Interfaces:
PostStartup, org.jvnet.hk2.component.PostConstruct

@Service
public final class JMXStartupService
extends java.lang.Object
implements PostStartup, org.jvnet.hk2.component.PostConstruct

Responsible for creating the BootAMXMBean, and starting JMXConnectors, which will initialize (boot) AMX when a connection arrives.


Field Summary
static java.lang.String JMX_CONNECTOR_SERVER_PREFIX
           
 
Constructor Summary
JMXStartupService()
           
 
Method Summary
static java.util.Set<javax.management.ObjectName> getJMXConnectorServers(javax.management.MBeanServer server)
           
static javax.management.remote.JMXServiceURL[] getJMXServiceURLs(javax.management.MBeanServer server)
          Return the JMXServiceURLs for all connectors we've loaded.
 void postConstruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMX_CONNECTOR_SERVER_PREFIX

public static final java.lang.String JMX_CONNECTOR_SERVER_PREFIX
See Also:
Constant Field Values
Constructor Detail

JMXStartupService

public JMXStartupService()
Method Detail

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct

getJMXConnectorServers

public static final java.util.Set<javax.management.ObjectName> getJMXConnectorServers(javax.management.MBeanServer server)

getJMXServiceURLs

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



Copyright © 2012 GlassFish Community. All Rights Reserved.