|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.monitor.distribute.MonitorMessageHandler dk.netarkivet.monitor.registry.distribute.MonitorRegistryServer
public class MonitorRegistryServer
The monitor registry server listens on JMS for hosts that wish to register themselves to the service. The registry lists hosts that can be monitored with JMX.
Method Summary | |
---|---|
void |
cleanup()
Remove listener on shutdown. |
static MonitorRegistryServer |
getInstance()
Get the registry server singleton. |
void |
visit(RegisterHostMessage msg)
This method registers the sender as a host to be monitored with JMX. |
Methods inherited from class dk.netarkivet.monitor.distribute.MonitorMessageHandler |
---|
onMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MonitorRegistryServer getInstance()
public void visit(RegisterHostMessage msg)
visit
in interface MonitorMessageVisitor
visit
in class MonitorMessageHandler
msg
- a RegisterHostMessage
ArgumentNotValid
- on null parameter.public void cleanup()
cleanup
in interface CleanupIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |