Fixed deployment of mount points (dynamic instances of MD-SAL)
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / RpcProviderRegistry.java
index 972e64faf6caa16db8c994db7c39c5682eed1539..cc764888cca932b89dacfe8210c6671147bc5f9d 100644 (file)
@@ -1,18 +1,22 @@
 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.
+ * 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 {
+public interface RpcProviderRegistry extends //
+        RpcConsumerRegistry, //
+        RouteChangePublisher<RpcContextIdentifier, InstanceIdentifier<?>> {
     /**
      * Registers an global RpcService implementation.
      * 
@@ -25,12 +29,16 @@ public interface RpcProviderRegistry extends RpcConsumerRegistry {
 
     /**
      * 
-     * Register an Routed RpcService where routing is determined on annotated (in YANG model)
-     * context-reference and value of annotated leaf.
+     * 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 
+     * @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
      */