|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.monitor.distribute.JMSMonitorRegistryClient
public class JMSMonitorRegistryClient
The monitor registry client sends messages with JMS to register the host for JMX monitoring.
Method Summary | |
---|---|
void |
cleanup()
Used to clean up a class from within a shutdown hook. |
static JMSMonitorRegistryClient |
getInstance()
Get the registry client singleton. |
void |
register(java.lang.String localHostName,
int jmxPort,
int rmiPort)
Register this host for monitoring. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JMSMonitorRegistryClient getInstance()
public void register(java.lang.String localHostName, int jmxPort, int rmiPort)
register
in interface MonitorRegistryClient
localHostName
- The name of the host.jmxPort
- The port for JMX connections to the host.rmiPort
- The port for RMI connections for JMX communication.
ArgumentNotValid
- on null or empty hostname, or negative port
numbers.public void cleanup()
cleanup
in interface CleanupIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |