1 package org.opendaylight.controller.sal.binding.api.mount;
3 import java.util.EventListener;
5 import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
6 import org.opendaylight.yangtools.concepts.ListenerRegistration;
7 import org.opendaylight.yangtools.concepts.Registration;
8 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
11 * Provider MountProviderService, this version allows access to MD-SAL services
12 * specific for this mountpoint and registration / provision of interfaces for
18 public interface MountProviderService extends MountService {
21 public MountProviderInstance getMountPoint(InstanceIdentifier<?> path);
23 MountProviderInstance createMountPoint(InstanceIdentifier<?> path);
25 MountProviderInstance createOrGetMountPoint(InstanceIdentifier<?> path);
27 ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener);
29 public interface MountProvisionListener extends EventListener {
31 void onMountPointCreated(InstanceIdentifier<?> path);
33 void onMountPointRemoved(InstanceIdentifier<?> path);