X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fcompat%2FNotificationInvoker.java;h=1e7b9bde9f3fcd97ae0291df90ad5bec67bf1f56;hb=aa1c4a51361239aeaa064eb11eb935be194b6eeb;hp=c2fef92e65407e788b3a29e9ddb84f62e4f0d25c;hpb=70cd4b01dd47a66c5591e6f8151430bb9c274a09;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/NotificationInvoker.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/NotificationInvoker.java index c2fef92e65..1e7b9bde9f 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/NotificationInvoker.java +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/NotificationInvoker.java @@ -20,6 +20,7 @@ import org.opendaylight.yangtools.yang.binding.Notification; import org.opendaylight.yangtools.yang.binding.NotificationListener; import org.opendaylight.yangtools.yang.common.QName; +@Deprecated final class NotificationInvoker implements org.opendaylight.controller.sal.binding.api.NotificationListener { @@ -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) {