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.binding.api;
10 import org.opendaylight.yangtools.yang.binding.RpcService;
13 * Base interface defining contract for retrieving MD-SAL
14 * version of RpcServices
17 public interface RpcConsumerRegistry extends BindingAwareService {
19 * Returns a session specific instance (implementation) of requested
20 * YANG module implentation / service provided by consumer.
22 * @return Session specific implementation of service
24 <T extends RpcService> T getRpcService(Class<T> module);