X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FNotificationListener.java;h=5c9d6bbafcccc427d7718d74392d851f1cc3a606;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=be8e0cefc1a3115329ed3391d99bbc8a38810dcd;hpb=05565ac29ed2e05fef72379c2d84ca43c01799b2;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationListener.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationListener.java index be8e0cefc1..5c9d6bbafc 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationListener.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationListener.java @@ -8,7 +8,6 @@ package org.opendaylight.controller.sal.binding.api; import java.util.EventListener; - import org.opendaylight.yangtools.yang.binding.Notification; /** @@ -17,10 +16,13 @@ import org.opendaylight.yangtools.yang.binding.Notification; * capture of this interface. * * @param the interested notification type + * @deprecated Deprecated unused API. */ +@Deprecated(forRemoval = true) public interface NotificationListener extends EventListener { /** * Invoked to deliver a notification. + * *

* Note that this method may be invoked from a shared thread pool, so implementations SHOULD NOT * perform CPU-intensive operations and MUST NOT invoke any potentially blocking operations.