Bug 7065 - sal-cluster-admin not export java binding inteface in MANIFEST.MF
[controller.git] / opendaylight / md-sal / sal-cluster-admin-impl / src / main / resources / org / opendaylight / blueprint / cluster-admin.xml
diff --git a/opendaylight/md-sal/sal-cluster-admin-impl/src/main/resources/org/opendaylight/blueprint/cluster-admin.xml b/opendaylight/md-sal/sal-cluster-admin-impl/src/main/resources/org/opendaylight/blueprint/cluster-admin.xml
new file mode 100644 (file)
index 0000000..85edd2e
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
+
+  <!-- ClusterAdminRpcService -->
+
+  <reference id="configDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
+      odl:type="distributed-config"/>
+
+  <reference id="operationalDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
+      odl:type="distributed-operational"/>
+
+  <bean id="clusterAdminService" class="org.opendaylight.controller.cluster.datastore.admin.ClusterAdminRpcService">
+    <argument ref="configDatastore"/>
+    <argument ref="operationalDatastore"/>
+  </bean>
+
+  <odl:rpc-implementation ref="clusterAdminService"/>
+
+</blueprint>
\ No newline at end of file