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 com.google.common.base.Optional;
11 import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint;
12 import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
13 import org.opendaylight.controller.sal.core.api.mount.MountProvisionListener;
14 import org.opendaylight.yangtools.concepts.ListenerRegistration;
15 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
16 import org.osgi.framework.ServiceReference;
18 public class DOMMountPointServiceProxy extends AbstractBrokerServiceProxy<DOMMountPointService> implements DOMMountPointService{
21 public DOMMountPointServiceProxy(final ServiceReference<DOMMountPointService> ref, final DOMMountPointService delegate) {
26 public Optional<DOMMountPoint> getMountPoint(final YangInstanceIdentifier path) {
27 return getDelegate().getMountPoint(path);
31 public DOMMountPointBuilder createMountPoint(final YangInstanceIdentifier path) {
32 return getDelegate().createMountPoint(path);
35 public ListenerRegistration<MountProvisionListener> registerProvisionListener(final MountProvisionListener listener) {
36 return getDelegate().registerProvisionListener(listener);