X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2FRpcProviderRegistry.java;h=a501c021977649d0e00423b9f9b2c1363cc1c1aa;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=367e55d927cfa9431b5dfde20c6c159f8dd827c6;hpb=899ccfb2052bc5b2c52828d6ccb04c16f9787784;p=controller.git 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 index 367e55d927..a501c02197 100644 --- 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 @@ -256,9 +256,8 @@ import org.opendaylight.yangtools.yang.binding.RpcService; * * @deprecated Use {@link org.opendaylight.mdsal.binding.api.RpcProviderService} instead */ -@Deprecated -public interface RpcProviderRegistry extends // - RpcConsumerRegistry, // +@Deprecated(forRemoval = true) +public interface RpcProviderRegistry extends RpcConsumerRegistry, RouteChangePublisher> { /** * Registers a global implementation of the provided RPC service interface. @@ -277,9 +276,9 @@ public interface RpcProviderRegistry extends // /** * Registers an implementation of the given routed RPC service interface. + * *

- * See the {@link RpcProviderRegistry class} documentation for information and example on - * how to use routed RPCs. + * See the {@link RpcProviderRegistry class} documentation for information and example on how to use routed RPCs. * * @param serviceInterface the YANG-generated interface of the RPC Service for which to register. * @param implementation the implementation instance to register. @@ -287,11 +286,8 @@ public interface RpcProviderRegistry extends // * implementation via invoking RoutedRpcRegistration#registerPath(Class, InstanceIdentifer). * {@link RoutedRpcRegistration#close()} should be called to unregister the implementation * and all previously registered paths when no longer needed. - * - * @throws IllegalStateException - * if the supplied RPC interface is not a routed RPC type. + * @throws IllegalStateException if the supplied RPC interface is not a routed RPC type. */ RoutedRpcRegistration addRoutedRpcImplementation(Class serviceInterface, - T implementation) - throws IllegalStateException; + T implementation) throws IllegalStateException; }