1 2 import javax.management.Notification; 3 4 /* 5 * To change this template, choose Tools | Templates 6 * and open the template in the editor. 7 */ 8 9 /** 10 * 11 * @author Jaroslav Bachorik <jaroslav.bachorik at oracle.com> 12 */ 13 public class TestNotification extends Notification { 14 private ConfigKey key; 15 16 public TestNotification(String type, Object source, long sequenceNumber) { 17 super(type, source, sequenceNumber); 18 key = ConfigKey.CONSTANT3; 19 } 20 21 @Override 22 public String toString() { 23 return "TestNotification{" + "key=" + key + '}'; 24 } 25 }