Update to MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / NotificationListener.java
index ccc73919b66ae440e43956d26517d90bc97778e0..b3309b7a12b5af7bc15c310bc06c367d51a7772b 100644 (file)
@@ -1,6 +1,17 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.sal.binding.api;
 
-public interface NotificationListener<T> {
+import java.util.EventListener;
+
+import org.opendaylight.yangtools.yang.binding.Notification;
+
+public interface NotificationListener<T extends Notification> extends EventListener {
 
     void onNotification(T notification);
 }