24d5430d6d3713a0c6b3e5a5252eb710e9550e7d
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / sal / dom / broker / osgi / MountProviderServiceProxy.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.sal.dom.broker.osgi;
9
10 import org.opendaylight.controller.sal.core.api.mount.MountProvisionInstance;
11 import org.opendaylight.controller.sal.core.api.mount.MountProvisionService;
12 import org.opendaylight.yangtools.concepts.ListenerRegistration;
13 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
14 import org.osgi.framework.ServiceReference;
15
16 public class MountProviderServiceProxy extends AbstractBrokerServiceProxy<MountProvisionService> implements MountProvisionService{
17
18
19     public MountProviderServiceProxy(ServiceReference<MountProvisionService> ref, MountProvisionService delegate) {
20         super(ref, delegate);
21     }
22
23     @Override
24     public MountProvisionInstance getMountPoint(InstanceIdentifier path) {
25         return getDelegate().getMountPoint(path);
26     }
27
28     @Override
29     public MountProvisionInstance createMountPoint(InstanceIdentifier path) {
30         return getDelegate().createMountPoint(path);
31     }
32
33     @Override
34     public MountProvisionInstance createOrGetMountPoint(InstanceIdentifier path) {
35         return getDelegate().createOrGetMountPoint(path);
36     }
37
38     @Override
39     public ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener) {
40         return getDelegate().registerProvisionListener(listener);
41     }
42 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.