org.cogchar.integroid.jmxwrap
Class NotifyingBeanImpl

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.cogchar.integroid.jmxwrap.NotifyingBeanImpl
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter
Direct Known Subclasses:
IntegroidWrapper

public class NotifyingBeanImpl
extends NotificationBroadcasterSupport

Author:
Stu Baurmann

Field Summary
protected  ObjectName myObjectName
           
 
Constructor Summary
NotifyingBeanImpl(ObjectName on)
           
 
Method Summary
 MBeanNotificationInfo[] getNotificationInfo()
           
protected  void register()
           
protected  void sendAttributeChangeNotification(String message, String attribName, Object oldAttribVal, Object newAttribVal)
           
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myObjectName

protected ObjectName myObjectName
Constructor Detail

NotifyingBeanImpl

public NotifyingBeanImpl(ObjectName on)
Method Detail

register

protected void register()
                 throws Throwable
Throws:
Throwable

sendAttributeChangeNotification

protected void sendAttributeChangeNotification(String message,
                                               String attribName,
                                               Object oldAttribVal,
                                               Object newAttribVal)

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface NotificationBroadcaster
Overrides:
getNotificationInfo in class NotificationBroadcasterSupport


Copyright © 2010-2012. All Rights Reserved.