Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / md / sal / dom / spi / DOMNotificationSubscriptionListener.java
index 85369da71a254820c6b7887ff2feafee64fad24c..de7bc5767eda1be35e1e36de8031f033867390e7 100644 (file)
@@ -8,25 +8,18 @@
 package org.opendaylight.controller.md.sal.dom.spi;
 
 import com.google.common.annotations.Beta;
-import java.util.EventListener;
-import java.util.Set;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 
 /**
  * Listener which is notified when subscriptions changes and
  * provides set of notification types for which currently
  * subscriptions are in place.
  *
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListener} instead.
  */
 @Beta
-public interface DOMNotificationSubscriptionListener extends EventListener {
-
-    /**
-     * Invoked when notification subscription changed
-     *
-     * @param currentTypes Set of notification types
-     * for which listeners are registered.
-     */
-    void onSubscriptionChanged(Set<SchemaPath> currentTypes);
-
+@Deprecated
+@SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_INTERFACE", justification = "Migration")
+public interface DOMNotificationSubscriptionListener
+        extends org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListener {
 }