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.common.QName;
+@Deprecated(forRemoval = true)
final class NotificationInvoker
implements org.opendaylight.controller.sal.binding.api.NotificationListener<Notification> {
@Override
public void onNotification(final Notification notification) {
- getContext(notification.getImplementedInterface()).invoke(notification);
+ getContext(notification.implementedInterface()).invoke(notification);
}
private InvokerContext getContext(final Class<?> type) {