X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FRpcProviderRegistry.java;h=a501c021977649d0e00423b9f9b2c1363cc1c1aa;hp=cc764888cca932b89dacfe8210c6671147bc5f9d;hb=HEAD;hpb=d575edf655b58bb5aafd88c113ace7d41a813d7c diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java deleted file mode 100644 index cc764888cc..0000000000 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/RpcProviderRegistry.java +++ /dev/null @@ -1,47 +0,0 @@ -package org.opendaylight.controller.sal.binding.api; - -import org.opendaylight.controller.md.sal.common.api.routing.RouteChangePublisher; -import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration; -import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RpcRegistration; -import org.opendaylight.controller.sal.binding.api.rpc.RpcContextIdentifier; -import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; -import org.opendaylight.yangtools.yang.binding.RpcService; - -/** - * Interface defining provider's access to the Rpc Registry which could be used - * to register their implementations of service to the MD-SAL. - * - * @author ttkacik - * - */ -public interface RpcProviderRegistry extends // - RpcConsumerRegistry, // - RouteChangePublisher> { - /** - * Registers an global RpcService implementation. - * - * @param type - * @param implementation - * @return - */ - RpcRegistration addRpcImplementation(Class type, T implementation) - throws IllegalStateException; - - /** - * - * Register an Routed RpcService where routing is determined on annotated - * (in YANG model) context-reference and value of annotated leaf. - * - * @param type - * Type of RpcService, use generated interface class, not your - * implementation clas - * @param implementation - * Implementation of RpcService - * @return Registration object for routed Rpc which could be used to close - * an - * - * @throws IllegalStateException - */ - RoutedRpcRegistration addRoutedRpcImplementation(Class type, T implementation) - throws IllegalStateException; -}