EventListener
, NotificationListener
public class JmxEventListener extends Object implements NotificationListener
JmxBeanFactory
Constructor | Description |
---|---|
JmxEventListener() |
Modifier and Type | Method | Description |
---|---|---|
static JmxEventListener |
getListener() |
Factory method that returns an instance of the listener.
|
void |
handleNotification(Notification notification,
Object handback) |
This is the implemented method for NotificationListener.
|
public static JmxEventListener getListener()
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface 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.