2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.sal.binding.api.mount;
10 import java.util.EventListener;
12 import org.opendaylight.yangtools.concepts.ListenerRegistration;
13 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
16 * Provider MountProviderService, this version allows access to MD-SAL services
17 * specific for this mountpoint and registration / provision of interfaces for
23 public interface MountProviderService extends MountService {
26 public MountProviderInstance getMountPoint(InstanceIdentifier<?> path);
28 MountProviderInstance createMountPoint(InstanceIdentifier<?> path);
30 MountProviderInstance createOrGetMountPoint(InstanceIdentifier<?> path);
32 ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener);
34 public interface MountProvisionListener extends EventListener {
36 void onMountPointCreated(InstanceIdentifier<?> path);
38 void onMountPointRemoved(InstanceIdentifier<?> path);