Deprecate old MD-SAL APIs for removal
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / notify / NotificationSubscriptionService.java
index bfca8f8bccf316d956dd8d621e0e868adf19b8f9..81879ec52e5a64fe9cf916c33681e585e6279de5 100644 (file)
@@ -7,9 +7,11 @@
  */
 package org.opendaylight.controller.md.sal.common.api.notify;
 
-import org.opendaylight.yangtools.concepts.Registration;
+import java.util.EventListener;
+import org.opendaylight.yangtools.concepts.ListenerRegistration;
 
-public interface NotificationSubscriptionService<T,N,L> {
+@Deprecated(forRemoval = true)
+public interface NotificationSubscriptionService<T, N, L extends EventListener> {
 
-    Registration<L> registerNotificationListener(T type,L listener);
+    ListenerRegistration<L> registerNotificationListener(T type, L listener);
 }