groovy.jmx.builder
Class JmxBuilderModelMBean.AttributeChangedListener

java.lang.Object
  extended by groovy.jmx.builder.JmxBuilderModelMBean.AttributeChangedListener
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener
Enclosing class:
JmxBuilderModelMBean

private static class JmxBuilderModelMBean.AttributeChangedListener
extends java.lang.Object
implements javax.management.NotificationListener

Internal class AttributeChangedListener provides hooks toa handle attribute-change events that occurs on registered MBeans.

Author:
Vladimir Vivien
See Also:
JmxBuilderModelMBean

Field Summary
private static JmxBuilderModelMBean.AttributeChangedListener listener
           
 
Constructor Summary
private JmxBuilderModelMBean.AttributeChangedListener()
           
 
Method Summary
private static java.util.Map buildAttributeNotificationPacket(javax.management.AttributeChangeNotification note)
           
static JmxBuilderModelMBean.AttributeChangedListener getListner()
          Returns an instance of the AttributeChangedListener.
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

private static JmxBuilderModelMBean.AttributeChangedListener listener
Constructor Detail

JmxBuilderModelMBean.AttributeChangedListener

private JmxBuilderModelMBean.AttributeChangedListener()
Method Detail

getListner

public static JmxBuilderModelMBean.AttributeChangedListener getListner()
Returns an instance of the AttributeChangedListener.

Returns:

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

buildAttributeNotificationPacket

private static java.util.Map buildAttributeNotificationPacket(javax.management.AttributeChangeNotification note)


Copyright © ${year} The Codehaus. All Rights Reserved.