home *** CD-ROM | disk | FTP | other *** search
- package javax.management;
-
- public class AttributeChangeNotification extends Notification {
- private static final long serialVersionUID = 535176054565814134L;
- public static final String ATTRIBUTE_CHANGE = "jmx.attribute.change";
- private String attributeName;
- private String attributeType;
- private Object oldValue;
- private Object newValue;
-
- public AttributeChangeNotification(Object source, long sequenceNumber, long timestamp, String message, String attributeName, String attributeType, Object oldValue, Object newValue) {
- super("jmx.attribute.change", source, sequenceNumber, timestamp, message);
- this.attributeName = attributeName;
- this.attributeType = attributeType;
- this.oldValue = oldValue;
- this.newValue = newValue;
- }
-
- public String getAttributeName() {
- return this.attributeName;
- }
-
- public String getAttributeType() {
- return this.attributeType;
- }
-
- public Object getOldValue() {
- return this.oldValue;
- }
-
- public Object getNewValue() {
- return this.newValue;
- }
- }
-