BUG 2412 - Remove CompositeNode from sal-dom-*
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / notify / NotificationListener.java
diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationListener.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationListener.java
deleted file mode 100644 (file)
index 7dc8cb3..0000000
+++ /dev/null
@@ -1,43 +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 java.util.EventListener;
-import java.util.Set;
-
-import org.opendaylight.controller.sal.core.api.Consumer;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.data.api.CompositeNode;
-
-
-/**
- * Notification listener for SAL notifications.
- */
-public interface NotificationListener extends Consumer.ConsumerFunctionality, EventListener {
-    /**
-     * A set of notification types supported by listeners.
-     *
-     * The set of notification {@link QName}s which are supported by this
-     * listener. This set is used, when {@link Consumer} is registered to the
-     * SAL, to automatically register the listener.
-     *
-     * @return Set of QNames identifying supported notifications.
-     */
-    Set<QName> getSupportedNotifications();
-
-    /**
-     * Fired when the notification occurs.
-     *
-     * The type of the notification could be learned by
-     * <code>QName type = notification.getNodeType();</code>
-     *
-     * @param notification
-     *            Notification content
-     */
-    void onNotification(CompositeNode notification);
-}