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=4f5c7abf5f1bb560ea2b1d5d1b57982cfc700f4a;hp=aa22b90f65478092374d53d06961e6c09f5fbcd7;hb=2f1946537e63cc66950d4359b77fd49dbe1bdea3;hpb=a8ceea323c972b086d3c9e6817dce53659ce8343 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 aa22b90f65..4f5c7abf5f 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 @@ -7,32 +7,31 @@ */ package org.opendaylight.controller.sal.core.api.notify; -import org.opendaylight.controller.sal.core.api.Broker; -import org.opendaylight.controller.sal.core.api.Provider; +import org.opendaylight.controller.md.sal.dom.api.DOMService; 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 + *
  3. {@link org.opendaylight.controller.sal.core.api.Provider} invokes {@link #sendNotification(CompositeNode)} + *
  4. {@link org.opendaylight.controller.sal.core.api.Broker} finds {@link NotificationListener}s which subscribed for * the notification type. - * - *
  5. For each subscriber {@link Broker} invokes + * + *
  6. For each subscriber {@link org.opendaylight.controller.sal.core.api.Broker} invokes * {@link NotificationListener#onNotification(CompositeNode)} *
*/ -public interface NotificationPublishService extends NotificationService { +public interface NotificationPublishService extends NotificationService, DOMService { /** * Publishes a notification. - * + * * Notification type is determined by the * {@link CompositeNode#getNodeType()} of the * notification parameter. - * + * * @param notification * Notification to publish */