org.objectweb.jonas.jmx
Interface JmxService
- All Superinterfaces:
- Service
- All Known Implementing Classes:
- AbsJmxServiceImpl
- public interface JmxService
- extends Service
JMX Service interface
getJmxServer
public javax.management.MBeanServer getJmxServer()
- Returns:
- The reference of the MBean server
getRmiConnectorName
public java.lang.String getRmiConnectorName()
- Returns:
- JNDI name of the JOnAS rmi connector associated to the MBeanServer
getConnectorServerURLs
public javax.management.remote.JMXServiceURL[] getConnectorServerURLs()
- Returns:
- Array containing the adresses associated to the JMX connector servers
getJonasServerName
public java.lang.String getJonasServerName()
- Returns:
- The current server name
getDomainName
public java.lang.String getDomainName()
- Returns:
- The current management domain name
getServerConnection
public javax.management.MBeanServerConnection getServerConnection(java.lang.String serverName)
- Return a connection to the JMX serverver of a given JOnAS server
- Parameters:
serverName
- The name of the server a connection to its JMX server its needed
- Returns:
- A connection to that server's JMX server