BUG-6975: Integrate Programming with Cluster Singleton Service
[bgpcep.git] / programming / impl / src / main / resources / org / opendaylight / blueprint / programming.xml
index e883f181367313acbce0a006ce1906e439f52a5c..05706a98f3740eb8dd0ef38f2b10243609c39f25 100644 (file)
@@ -16,6 +16,8 @@
     <reference id="notificationService"
                interface="org.opendaylight.controller.sal.binding.api.NotificationProviderService" />
     <reference id="timer" interface="io.netty.util.Timer" odl:type="global-timer"/>
+    <reference id="clusterSingletonServiceProvider"
+               interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
 
     <bean id="IntructionDeployerImpl" class="org.opendaylight.bgpcep.programming.impl.InstructionDeployedImpl"
           destroy-method="close">
@@ -23,6 +25,7 @@
         <argument ref="rpcRegistry"/>
         <argument ref="notificationService"/>
         <argument ref="timer"/>
+        <argument ref="clusterSingletonServiceProvider"/>
         <argument ref="blueprintBundleContext"/>
     </bean>