public final class RMJMXHelper extends AbstractJMXHelper
AbstractJMXHelper
Constructor and Description |
---|
RMJMXHelper(RMAccountsManager accountsManager)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<MBeanServer> |
findMBeanServer(String agentId)
Return a list of registered MBeanServers.
|
String |
getConnectorServerName()
Sub-classes must provide the name of the connector server.
|
static RMJMXHelper |
getInstance()
Returns the single instance of this class.
|
int |
getJMXRMIConnectorServerPort()
Sub-classes must provide the port to be used by the JMX RMI connector server.
|
void |
registerMBeans(MBeanServer mbs)
Sub-class must register the MBeans into the MBean server.
|
boot, boot, getAddress, getDataStore, setDataStore, shutdown
public RMJMXHelper(RMAccountsManager accountsManager)
accountsManager
- the accounts managerpublic static RMJMXHelper getInstance()
public void registerMBeans(MBeanServer mbs)
registerMBeans
in class AbstractJMXHelper
mbs
- the MBean serverpublic static ArrayList<MBeanServer> findMBeanServer(String agentId)
agentId
- the agentId of the MBeanServer to find.public String getConnectorServerName()
getConnectorServerName
in class AbstractJMXHelper
public int getJMXRMIConnectorServerPort()
getJMXRMIConnectorServerPort
in class AbstractJMXHelper