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 |
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 |
ATTRIBUTE_CHANGE
public static final java.lang.String ATTRIBUTE_CHANGE
- A Notification type for an attribute change
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 notificationsequenceNumber
- The sequence number of this notificationtimestamp
- The timestamp of this notificationmessage
- The message for the notificationattributeName
- The name of the changed attributeattributeType
- The type of the attributeoldValue
- The old value of the AttributenewValue
- The new value of the Attribute
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.