Deprecate old MD-SAL APIs for removal
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / compat / HeliumNotificationServiceAdapter.java
index 68daa45c45c88c8b9d410c37f5512d7439c9e0c3..c0c898926ae685ac8edd28c72307fa97e7025e47 100644 (file)
@@ -12,7 +12,9 @@ import org.opendaylight.yangtools.concepts.ListenerRegistration;
 import org.opendaylight.yangtools.yang.binding.Notification;
 import org.opendaylight.yangtools.yang.binding.NotificationListener;
 
-public class HeliumNotificationServiceAdapter implements org.opendaylight.controller.sal.binding.api.NotificationService, AutoCloseable {
+@Deprecated(forRemoval = true)
+public class HeliumNotificationServiceAdapter
+        implements org.opendaylight.controller.sal.binding.api.NotificationService, AutoCloseable {
 
     private final NotificationService notificationService;
 
@@ -21,8 +23,10 @@ public class HeliumNotificationServiceAdapter implements org.opendaylight.contro
     }
 
     @Override
-    public <T extends Notification> ListenerRegistration<org.opendaylight.controller.sal.binding.api.NotificationListener<T>> registerNotificationListener(
-            final Class<T> notificationType, final org.opendaylight.controller.sal.binding.api.NotificationListener<T> listener) {
+    public <T extends Notification> ListenerRegistration<
+            org.opendaylight.controller.sal.binding.api.NotificationListener<T>> registerNotificationListener(
+            final Class<T> notificationType,
+            final org.opendaylight.controller.sal.binding.api.NotificationListener<T> listener) {
         throw new UnsupportedOperationException("Not supported type of listener.");
     }
 
@@ -34,6 +38,5 @@ public class HeliumNotificationServiceAdapter implements org.opendaylight.contro
 
     @Override
     public void close() throws Exception {
-
     }
 }