01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management;
10:
11: import java.util.EventListener;
12:
13: /**
14: * Implemented by an object that want to receive notifications.
15: *
16: * @version $Revision: 1.7 $
17: */
18: public interface NotificationListener extends EventListener {
19: /**
20: * Called when a notification occurs.
21: *
22: * @param notification The notification object
23: * @param handback Helps in associating information regarding the listener.
24: */
25: public void handleNotification(Notification notification,
26: Object handback);
27: }
|