TestNotification.java 572 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

import javax.management.Notification;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Jaroslav Bachorik <jaroslav.bachorik at oracle.com>
 */
public class TestNotification extends Notification {
    private ConfigKey key;

    public TestNotification(String type, Object source, long sequenceNumber) {
        super(type, source, sequenceNumber);
        key = ConfigKey.CONSTANT3;
    }

    @Override
    public String toString() {
        return "TestNotification{" + "key=" + key + '}';
    }
}