home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / jmx.jar / javax / management / AttributeChangeNotification.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-10-28  |  1.3 KB  |  35 lines

  1. package javax.management;
  2.  
  3. public class AttributeChangeNotification extends Notification {
  4.    private static final long serialVersionUID = 535176054565814134L;
  5.    public static final String ATTRIBUTE_CHANGE = "jmx.attribute.change";
  6.    private String attributeName;
  7.    private String attributeType;
  8.    private Object oldValue;
  9.    private Object newValue;
  10.  
  11.    public AttributeChangeNotification(Object source, long sequenceNumber, long timestamp, String message, String attributeName, String attributeType, Object oldValue, Object newValue) {
  12.       super("jmx.attribute.change", source, sequenceNumber, timestamp, message);
  13.       this.attributeName = attributeName;
  14.       this.attributeType = attributeType;
  15.       this.oldValue = oldValue;
  16.       this.newValue = newValue;
  17.    }
  18.  
  19.    public String getAttributeName() {
  20.       return this.attributeName;
  21.    }
  22.  
  23.    public String getAttributeType() {
  24.       return this.attributeType;
  25.    }
  26.  
  27.    public Object getOldValue() {
  28.       return this.oldValue;
  29.    }
  30.  
  31.    public Object getNewValue() {
  32.       return this.newValue;
  33.    }
  34. }
  35.