public class MonitorRegistryServer extends MonitorMessageHandler implements CleanupIF
Modifier and Type | Method and Description |
---|---|
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.
|
onMessage
public static MonitorRegistryServer getInstance()
public void visit(RegisterHostMessage msg)
visit
in interface MonitorMessageVisitor
visit
in class MonitorMessageHandler
msg
- a RegisterHostMessageArgumentNotValid
- on null parameter.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.