X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fapi%2Fnotify%2FNotificationPublishService.java;h=8dab4cd70536f6188b4f91850f49d05e158e8fbc;hp=652eab10a75e6e4091e934d5f226ba18d181b2fd;hb=0a2c659c014737c7e12a39001310de14d5f85149;hpb=a251833f27fd00040904e2df316cd707c8129d1e diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java index 652eab10a7..8dab4cd705 100644 --- a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java +++ b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java @@ -11,38 +11,30 @@ import org.opendaylight.controller.sal.core.api.Broker; import org.opendaylight.controller.sal.core.api.Provider; import org.opendaylight.yangtools.yang.data.api.CompositeNode; - /** * Notification Publishing Service - * + * * The simplified process of the notification publishing is following: - * + * *
    *
  1. {@link Provider} invokes {@link #sendNotification(CompositeNode)} *
  2. {@link Broker} finds {@link NotificationListener}s which subscribed for * the notification type. - * + * *
  3. For each subscriber {@link Broker} invokes * {@link NotificationListener#onNotification(CompositeNode)} *
- * - * - * */ public interface NotificationPublishService extends NotificationService { - /** * Publishes a notification. - * + * * Notification type is determined by the * {@link CompositeNode#getNodeType()} of the * notification parameter. - * + * * @param notification * Notification to publish */ - @Deprecated - void sendNotification(CompositeNode notification); - void publish(CompositeNode notification); }