javax.management
Class AttributeChangeNotification

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.management.Notification
              |
              +--javax.management.AttributeChangeNotification
All Implemented Interfaces:
java.io.Serializable

public class AttributeChangeNotification
extends Notification

A Notification for AttributeChange sent by MBeans.

Version:
$Revision: 1.4 $
Author:
Simone Bordet
See Also:
Serialized Form

Field Summary
static java.lang.String ATTRIBUTE_CHANGE
          A Notification type for an attribute change
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
AttributeChangeNotification(java.lang.Object source, long sequenceNumber, long timestamp, java.lang.String message, java.lang.String attributeName, java.lang.String attributeType, java.lang.Object oldValue, java.lang.Object newValue)
          Creates an AttributeChangeNotification
 
Method Summary
 java.lang.String getAttributeName()
          Returns the attribute name of this change notification.
 java.lang.String getAttributeType()
          Returns the attribute type of this change notification.
 java.lang.Object getNewValue()
          Returns the new value of the attribute
 java.lang.Object getOldValue()
          Returns the old value of the attribute
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_CHANGE

public static final java.lang.String ATTRIBUTE_CHANGE
A Notification type for an attribute change

See Also:
Constant Field Values
Constructor Detail

AttributeChangeNotification

public AttributeChangeNotification(java.lang.Object source,
                                   long sequenceNumber,
                                   long timestamp,
                                   java.lang.String message,
                                   java.lang.String attributeName,
                                   java.lang.String attributeType,
                                   java.lang.Object oldValue,
                                   java.lang.Object newValue)
Creates an AttributeChangeNotification

Parameters:
source - The source of this notification
sequenceNumber - The sequence number of this notification
timestamp - The timestamp of this notification
message - The message for the notification
attributeName - The name of the changed attribute
attributeType - The type of the attribute
oldValue - The old value of the Attribute
newValue - The new value of the Attribute
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Returns the attribute name of this change notification.

Returns:
String Returns the attribute name

getAttributeType

public java.lang.String getAttributeType()
Returns the attribute type of this change notification.

Returns:
String The attribute type

getOldValue

public java.lang.Object getOldValue()
Returns the old value of the attribute

Returns:
Object The old value

getNewValue

public java.lang.Object getNewValue()
Returns the new value of the attribute

Returns:
Object The new value


Copyright © 2001-2002 MX4J Team. All Rights Reserved.