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
registerMBean
public void registerMBean(java.lang.Object mbean,
java.lang.String objectName)
- Register an MBean on the JOnAS MBeanServer
- Parameters:
mbean
- objectName
-
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