Deprecate sal.core.api.mount.MountProvisionListener
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / mount / MountProvisionListener.java
index 1d724e4a8ca8735e673505f0986ae1370e231a01..1f7255b48a92be9280790accb81d64d0a3a0e229 100644 (file)
@@ -3,18 +3,18 @@
  *
  * 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.
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.controller.sal.core.api.mount;
 
-import java.util.EventListener;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-
-public interface MountProvisionListener extends EventListener {
-
-    void onMountPointCreated(YangInstanceIdentifier path);
+import org.opendaylight.mdsal.dom.api.DOMMountPointListener;
 
-    void onMountPointRemoved(YangInstanceIdentifier path);
+/**
+ * Listener for mountpoint events.
+ *
+ * @deprecated Use {@link DOMMountPointListener} instead.
+ */
+@Deprecated
+public interface MountProvisionListener extends DOMMountPointListener {
 
 }