2 * Copyright (c) 2013 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
9 package org.opendaylight.controller.sal.binding.impl;
11 import org.opendaylight.yangtools.yang.binding.RpcService;
12 import org.osgi.framework.ServiceRegistration;
14 @SuppressWarnings("all")
15 public class RpcProxyContext {
16 public RpcProxyContext(final Class<? extends RpcService> proxyClass) {
17 this.proxyClass = proxyClass;
20 protected final Class<? extends RpcService> proxyClass;
22 protected RpcService _proxy;
24 public RpcService getProxy() {
28 public void setProxy(final RpcService proxy) {
32 protected ServiceRegistration<? extends RpcService> _registration;
34 public ServiceRegistration<? extends RpcService> getRegistration() {
35 return this._registration;
38 public void setRegistration(final ServiceRegistration<? extends RpcService> registration) {
39 this._registration = registration;