Remove DataChangeListener and friends
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / DOMStore.java
index 238aeb91691e14b48dcbc0513f7010968097524f..8adebe11dc9fa18a513a7e6d4fe5bfa03c084e0b 100644 (file)
@@ -7,10 +7,6 @@
  */
 package org.opendaylight.controller.sal.core.spi.data;
 
-import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker.DataChangeScope;
-import org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeListener;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 
 /**
@@ -28,31 +24,6 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
  *
  */
 public interface DOMStore extends DOMStoreTransactionFactory {
-
-    /**
-     * Registers {@link org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeListener} for Data Change
-     * callbacks which will be triggered on the change of provided subpath. What constitutes a change
-     * depends on the @scope parameter.
-     *
-     * Listener upon registration receives an initial callback
-     * {@link AsyncDataChangeListener#onDataChanged(org.opendaylight.controller.md.sal.common.api.data
-     *     .AsyncDataChangeEvent)}
-     * which contains stable view of data tree at the time of registration.
-     *
-     *  @param path Path (subtree identifier) on which client listener will be
-     * invoked.
-     *
-     * @param listener
-     *            Instance of listener which should be invoked on
-     * @param scope
-     *            Scope of change which triggers callback.
-     * @return Listener Registration object, which client may use to close
-     *         registration / interest on receiving data changes.
-     *
-     */
-    <L extends AsyncDataChangeListener<YangInstanceIdentifier, NormalizedNode<?, ?>>> ListenerRegistration<L>
-        registerChangeListener(YangInstanceIdentifier path, L listener, DataChangeScope scope);
-
     /**
      * Creates new transaction chain.
      *