NotificationHolder.java revision 340
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly/*
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * CDDL HEADER START
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly *
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * The contents of this file are subject to the terms of the
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * Common Development and Distribution License (the "License").
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * You may not use this file except in compliance with the License.
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly *
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * See LICENSE.txt included in this distribution for the specific
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * language governing permissions and limitations under the License.
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly *
4fa6e393824ad7e7157e4510887e5d24f81c7dd8Jenny Han Donnelly * When distributing Covered Code, include this CDDL HEADER in each
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * file and include the License file at LICENSE.txt.
d2854acf6eef44cf0aca645de3a37cca1388f51aDav Glass * If applicable, add the following below this CDDL HEADER, with the
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * fields enclosed by brackets "[]" replaced with your own identifying
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * information: Portions Copyright [yyyy] [name of copyright owner]
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly *
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly * CDDL HEADER END
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly */
0d6d1a2d994933a68a100ec3dcdc7c7a0eeeae6cJenny Han Donnelly
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
package org.opensolaris.opengrok.management;
import javax.management.NotificationListener;
import javax.management.NotificationFilter;
/**
* @author Jan S Berg
*/
public class NotificationHolder {
private NotificationListener notl = null;
private Object obNL = null;
private NotificationFilter nfilt = null;
public NotificationHolder(NotificationListener nl, NotificationFilter nf, Object obj) {
notl = nl;
obNL = obj;
nfilt = nf;
}
public NotificationListener getNL() {
return notl;
}
public Object getObj() {
return obNL;
}
public NotificationFilter getFilter() {
return nfilt;
}
}