Merge "Added move of branding jar to assembly"
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / notify / NotificationListener.java
index 5b0c992a006aedfd0fd99cfe87f30bf48323e56b..7dc8cb36c5b266c20f3521efc16e93ba3676553f 100644 (file)
@@ -7,6 +7,7 @@
  */
 package org.opendaylight.controller.sal.core.api.notify;
 
+import java.util.EventListener;
 import java.util.Set;
 
 import org.opendaylight.controller.sal.core.api.Consumer;
@@ -17,24 +18,24 @@ import org.opendaylight.yangtools.yang.data.api.CompositeNode;
 /**
  * Notification listener for SAL notifications.
  */
-public interface NotificationListener extends Consumer.ConsumerFunctionality {
+public interface NotificationListener extends Consumer.ConsumerFunctionality, EventListener {
     /**
      * A set of notification types supported by listeners.
-     * 
+     *
      * The set of notification {@link QName}s which are supported by this
      * listener. This set is used, when {@link Consumer} is registered to the
      * SAL, to automatically register the listener.
-     * 
+     *
      * @return Set of QNames identifying supported notifications.
      */
     Set<QName> getSupportedNotifications();
 
     /**
      * Fired when the notification occurs.
-     * 
+     *
      * The type of the notification could be learned by
      * <code>QName type = notification.getNodeType();</code>
-     * 
+     *
      * @param notification
      *            Notification content
      */