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=3e05f17238415f3f31f8aae3cba2c91561471176;hp=367e55d927cfa9431b5dfde20c6c159f8dd827c6;hb=aa1c4a51361239aeaa064eb11eb935be194b6eeb;hpb=093728d9bc64609b5503ae9191a8cc1d0a937b79 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..3e05f17238 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 @@ -257,8 +257,7 @@ import org.opendaylight.yangtools.yang.binding.RpcService; * @deprecated Use {@link org.opendaylight.mdsal.binding.api.RpcProviderService} instead */ @Deprecated -public interface RpcProviderRegistry extends // - RpcConsumerRegistry, // +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; }