Move createProxy()
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / compat / NotificationInvoker.java
index b803c96b80c7ec998e3f257ab12a4e9f4bb59382..1e7b9bde9f3fcd97ae0291df90ad5bec67bf1f56 100644 (file)
@@ -14,12 +14,13 @@ import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
+import org.opendaylight.mdsal.binding.dom.adapter.invoke.NotificationListenerInvoker;
+import org.opendaylight.mdsal.binding.spec.reflect.BindingReflections;
 import org.opendaylight.yangtools.yang.binding.Notification;
 import org.opendaylight.yangtools.yang.binding.NotificationListener;
-import org.opendaylight.yangtools.yang.binding.util.BindingReflections;
-import org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker;
 import org.opendaylight.yangtools.yang.common.QName;
 
+@Deprecated
 final class NotificationInvoker
         implements org.opendaylight.controller.sal.binding.api.NotificationListener<Notification> {
 
@@ -55,7 +56,7 @@ final class NotificationInvoker
 
     @Override
     public void onNotification(final Notification notification) {
-        getContext(notification.getImplementedInterface()).invoke(notification);
+        getContext(notification.implementedInterface()).invoke(notification);
     }
 
     private InvokerContext getContext(final Class<?> type) {