org.objectweb.jonas.management
Class AttributeAddNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.objectweb.jonas.management.AttributeAddNotification
All Implemented Interfaces:
java.io.Serializable

public class AttributeAddNotification
extends javax.management.Notification

Implements a notification class allowing to notify that an MBean attribute was mofified via the addAttribureName method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
AttributeAddNotification(java.lang.Object source, long sequenceNumber, long timeStamp, java.lang.String message, java.lang.String attributeName, java.lang.String addedValue)
          Constructs an AttributeAddNotification object.
 
Method Summary
 java.lang.String getAddedValue()
           
 java.lang.String getAttributeName()
           
 java.lang.String toString()
           
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeAddNotification

public AttributeAddNotification(java.lang.Object source,
                                long sequenceNumber,
                                long timeStamp,
                                java.lang.String message,
                                java.lang.String attributeName,
                                java.lang.String addedValue)
Constructs an AttributeAddNotification object. In addition to the information common to all notifications, the caller must supply the name of the attribute that changed and the value of the added object.

Parameters:
source - The notification producer, that is, the MBean the attribute belongs to.
sequenceNumber - The notification sequence number within the source object.
timeStamp - The date at which the notification is being sent.
message - A String containing the message of this notification.
attributeName - A String giving the name of the attribute.
addedValue - A String giving the value added to the attribue's value
Method Detail

getAttributeName

public java.lang.String getAttributeName()

getAddedValue

public java.lang.String getAddedValue()

toString

public java.lang.String toString()
Overrides:
toString in class javax.management.Notification