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.dom.broker.osgi;
10 import org.opendaylight.controller.sal.core.api.data.DataBrokerService;
11 import org.opendaylight.controller.sal.core.api.mount.MountProvisionInstance;
12 import org.opendaylight.controller.sal.core.api.mount.MountProvisionService;
13 import org.opendaylight.yangtools.concepts.ListenerRegistration;
14 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
15 import org.osgi.framework.ServiceReference;
17 public class MountProviderServiceProxy extends AbstractBrokerServiceProxy<MountProvisionService> implements MountProvisionService{
20 public MountProviderServiceProxy(ServiceReference<MountProvisionService> ref, MountProvisionService delegate) {
24 public MountProvisionInstance getMountPoint(InstanceIdentifier path) {
25 return getDelegate().getMountPoint(path);
28 public MountProvisionInstance createMountPoint(InstanceIdentifier path) {
29 return getDelegate().createMountPoint(path);
32 public MountProvisionInstance createOrGetMountPoint(InstanceIdentifier path) {
33 return getDelegate().createOrGetMountPoint(path);
37 public ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener) {
38 return getDelegate().registerProvisionListener(listener);