Moved MD SAL from sal/yang-prototype to md-sal
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / sal / binding / impl / RpcProxyContext.xtend
1 /*
2  * Copyright (c) 2013 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.binding.impl
9
10 import org.opendaylight.yangtools.yang.binding.RpcService
11 import org.osgi.framework.ServiceRegistration
12
13 class RpcProxyContext {
14         
15         new(Class<? extends RpcService> proxyClass) {
16                 this.proxyClass = proxyClass
17         }
18         
19         protected val Class<? extends RpcService> proxyClass;
20         
21         @Property
22         protected var RpcService proxy;
23         
24         @Property
25         protected var ServiceRegistration<? extends RpcService> registration;
26 }