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