import org.opendaylight.controller.sal.core.api.data.DataProviderService;
import org.opendaylight.controller.sal.core.api.mount.MountProvisionInstance;
import org.opendaylight.controller.sal.core.api.data.DataProviderService;
import org.opendaylight.controller.sal.core.api.mount.MountProvisionInstance;
import org.opendaylight.controller.sal.core.api.mount.MountProvisionService;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
import org.opendaylight.controller.sal.core.api.mount.MountProvisionService;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.concepts.util.ListenerRegistry;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.util.ListenerRegistry;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
@Deprecated
public class MountPointManagerImpl implements MountProvisionService {
private final ListenerRegistry<MountProvisionListener> listeners =
ListenerRegistry.create();
@Deprecated
public class MountPointManagerImpl implements MountProvisionService {
private final ListenerRegistry<MountProvisionListener> listeners =
ListenerRegistry.create();
checkState(!mounts.containsKey(path), "Mount already created");
final MountPointImpl mount = new MountPointImpl(path);
registerMountPoint(mount);
checkState(!mounts.containsKey(path), "Mount already created");
final MountPointImpl mount = new MountPointImpl(path);
registerMountPoint(mount);
for (final ListenerRegistration<MountProvisionListener> listener : listeners
.getListeners()) {
listener.getInstance().onMountPointCreated(identifier);
for (final ListenerRegistration<MountProvisionListener> listener : listeners
.getListeners()) {
listener.getInstance().onMountPointCreated(identifier);