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%2FNotificationProviderService.java;fp=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FNotificationProviderService.java;h=0f183a0e8cde37e0a67f4f93a18db80e0a65862f;hb=f1a918f69b787dd422a09e4e8fd83a1d52a72f83;hp=073f98a91f1f74459a4c1cde93bacb04d21462c2;hpb=356ac60051791b56cd28390356906810c0db6024;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationProviderService.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationProviderService.java index 073f98a91f..0f183a0e8c 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationProviderService.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/NotificationProviderService.java @@ -23,15 +23,9 @@ import org.opendaylight.yangtools.yang.binding.Notification; @Deprecated public interface NotificationProviderService extends NotificationService, NotificationPublishService { - /** - * {@inheritDoc} - */ @Override void publish(Notification notification); - /** - * {@inheritDoc} - */ @Override void publish(Notification notification, ExecutorService executor); @@ -39,6 +33,7 @@ public interface NotificationProviderService extends NotificationService, Notifi * Registers a listener to be notified about notification subscriptions. This * enables a component to know when there is a notification listener subscribed * for a particular notification type. + * *

* On registration of this listener, the * {@link NotificationInterestListener#onNotificationSubscribtion(Class)} method @@ -59,12 +54,13 @@ public interface NotificationProviderService extends NotificationService, Notifi interface NotificationInterestListener extends EventListener { /** - * Callback that is invoked when a notification listener subscribes for a - * particular notification type. + * Callback that is invoked when a notification listener subscribes for a particular notification type. + * *

* This method is only called for the first subscription that occurs for a * particular notification type. Subsequent subscriptions for the same * notification type do not trigger invocation of this method. + * *

* Note:This callback is delivered from thread not owned by this listener, * all processing should be as fast as possible and implementations should