org.glassfish.admin.mbeanserver
Class JMXStartupService

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

@Service
public final class JMXStartupService
extends Object
implements 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 String JMX_CONNECTOR_SERVER_PREFIX
           
 
Constructor Summary
JMXStartupService()
           
 
Method Summary
static Set<ObjectName> getJMXConnectorServers(MBeanServer server)
           
static JMXServiceURL[] getJMXServiceURLs(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 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.glassfish.hk2.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.



Copyright © 2012. All Rights Reserved.