Map RpcProviderService and a BindingService 97/73397/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Jun 2018 11:40:07 +0000 (13:40 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Jun 2018 11:40:07 +0000 (13:40 +0200)
This is an API design omission, this service should be tagged
as a BindingService.

Change-Id: I31eaffbfdb5457b3d61ee3a218d87bf6bae1147c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/RpcProviderService.java

index 302a2550daf292a2d01ddd00bbc70de27df6ee66..9fb9a39b26cec3516822d604297604929a116f50 100644 (file)
@@ -17,7 +17,7 @@ import org.opendaylight.yangtools.yang.binding.RpcService;
  * defined in YANG models.
  *
  */
-public interface RpcProviderService {
+public interface RpcProviderService extends BindingService {
 
     <S extends RpcService, T extends S> ObjectRegistration<T> registerRpcImplementation(Class<S> type,
             T implementation);