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
8 package org.opendaylight.controller.sal.binding.impl
10 import org.osgi.framework.ServiceRegistration
11 import org.opendaylight.yangtools.yang.binding.RpcService
12 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RpcRegistration
14 class RpcServiceRegistrationImpl<T extends RpcService> implements RpcRegistration<T> {
16 val ServiceRegistration<T> osgiRegistration;
17 private val T service;
20 public new(Class<T> type, T service, ServiceRegistration<T> osgiReg) {
22 this.osgiRegistration = osgiReg;
23 this.service = service;
26 override getService() {
30 override getInstance() {
35 throw new UnsupportedOperationException("TODO: auto-generated method stub")