X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fsal%2Fsal-core-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fapi%2Fnotify%2FNotificationProviderService.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fsal%2Fsal-core-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fapi%2Fnotify%2FNotificationProviderService.java;h=0000000000000000000000000000000000000000;hb=fe024ad74b8656c3ee61b9ddff6009a779aa2189;hp=51871a770be06eb8e33c061d7e792f06339398fa;hpb=437c1bdb967072319e81774bdcf570b2fb0f7b89;p=controller.git diff --git a/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationProviderService.java b/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationProviderService.java deleted file mode 100644 index 51871a770b..0000000000 --- a/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationProviderService.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -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.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 NotificationProviderService extends NotificationService { - - /** - * Publishes a notification. - * - * Notification type is determined by the - * {@link CompositeNode#getNodeType()} of the - * notification parameter. - * - * @param notification - * Notification to publish - */ - void sendNotification(CompositeNode notification); - -}