Java EE 5 SDK

com.sun.appserv.management.util.jmx
Class AttributeChangeNotificationBuilder

java.lang.Object
  extended by com.sun.appserv.management.util.jmx.NotificationBuilder
      extended by com.sun.appserv.management.util.jmx.AttributeChangeNotificationBuilder

public class AttributeChangeNotificationBuilder
extends NotificationBuilder

Base class for building AMX Notifications.


Constructor Summary
AttributeChangeNotificationBuilder(ObjectName source)
           
 
Method Summary
 AttributeChangeNotification buildAttributeChange(String msg, String attributeName, String attributeType, Object oldValue, Object newValue)
           
 Notification buildNew()
          Build a new Notification without any values in its Map and no message.
 Notification buildNew(String key, Object value)
           
 
Methods inherited from class com.sun.appserv.management.util.jmx.NotificationBuilder
buildNew, buildNewWithMap, getNotificationType, getSource, nextSequenceNumber, now, putAllMapData, putMapData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeChangeNotificationBuilder

public AttributeChangeNotificationBuilder(ObjectName source)
Method Detail

buildNew

public final Notification buildNew()
Description copied from class: NotificationBuilder
Build a new Notification without any values in its Map and no message.

Overrides:
buildNew in class NotificationBuilder

buildNew

public final Notification buildNew(String key,
                                   Object value)

buildAttributeChange

public final AttributeChangeNotification buildAttributeChange(String msg,
                                                              String attributeName,
                                                              String attributeType,
                                                              Object oldValue,
                                                              Object newValue)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.