Package org.glassfish.admin.mbeanserver
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 theBootAMXMBean
, and starting JMXConnectors, which will initialise (boot) AMX when a connection arrives.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JMXStartupService.JMXConnectorStatus
-
Field Summary
Fields Modifier and Type Field Description static String
JMX_CONNECTOR_SERVER_PREFIX
-
Constructor Summary
Constructors Constructor Description JMXStartupService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<ObjectName>
getJMXConnectorServers(MBeanServer server)
static JMXServiceURL[]
getJMXServiceURLs(MBeanServer server)
Return the JMXServiceURLs for all connectors we've loaded.void
postConstruct()
void
waitUntilJMXConnectorStarted()
-
-
-
Field Detail
-
JMX_CONNECTOR_SERVER_PREFIX
public static final String JMX_CONNECTOR_SERVER_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
waitUntilJMXConnectorStarted
public void waitUntilJMXConnectorStarted()
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.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.- Parameters:
server
-- Returns:
-
-