|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.syabru.nagios.broker.jmx.JmxMessageListener
public class JmxMessageListener
JMX message listener implementation.
Constructor Summary | |
---|---|
JmxMessageListener(MessageListenerManager messageListenerManager,
MessageHandler messageHandler,
JMXServiceURL jmxServiceUrl,
ObjectName objectName)
C'tor. |
Method Summary | |
---|---|
String |
getId()
Get message listener id. |
void |
handleNotification(Notification notification,
Object handback)
|
void |
registerListener()
Register listener. |
void |
unregisterListener()
Remove notification listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxMessageListener(MessageListenerManager messageListenerManager, MessageHandler messageHandler, JMXServiceURL jmxServiceUrl, ObjectName objectName)
messageListenerManager
- Message listener manager.messageHandler
- Message handler.jmxServiceUrl
- JMX service URL.objectName
- Object name.Method Detail |
---|
public String getId()
MessageListener
getId
in interface MessageListener
public void registerListener()
MessageListener
registerListener
in interface MessageListener
public void unregisterListener()
unregisterListener
in interface MessageListener
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |