public class JmxEventListener
extends java.lang.Object
implements javax.management.NotificationListener
JmxBeanFactory
Constructor and Description |
---|
JmxEventListener() |
Modifier and Type | Method and Description |
---|---|
static JmxEventListener |
getListener()
Factory method that returns an instance of the listener.
|
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback)
This is the implemented method for NotificationListener.
|
public static JmxEventListener getListener()
public void handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
notification
- the notification object passed to closure used to handle JmxBuilder events.handback
- - In this case, the handback is the closure to execute when the event is handled.