|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.jmx.builder.JmxEventListener
public class JmxEventListener extends Object implements NotificationListener
The JmxEventListener class is used by the builder to listen to events on the event bus. It is used internally by JmxBuilder to handle attribute-change and operation-invoke events on the bean() node.
JmxBeanFactory| Constructor and Description |
|---|
JmxEventListener()
|
| Modifier and Type | Method and Description |
|---|---|
static JmxEventListener |
getListener()
Factory method that returns an instance of the listener. |
static JmxEventListener |
getListner()
Deprecated. |
void |
handleNotification(Notification notification,
Object handback)
This is the implemented method for NotificationListener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxEventListener()
| Method Detail |
|---|
public static JmxEventListener getListener()
@Deprecated public static JmxEventListener getListner()
public void handleNotification(Notification notification,
Object handback)
handleNotification in interface NotificationListenernotification - 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.
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||