Convert dsbenchmark to blueprint
[controller.git] / benchmark / dsbenchmark / src / main / resources / org / opendaylight / blueprint / dsbenchmark.xml
diff --git a/benchmark/dsbenchmark/src/main/resources/org/opendaylight/blueprint/dsbenchmark.xml b/benchmark/dsbenchmark/src/main/resources/org/opendaylight/blueprint/dsbenchmark.xml
new file mode 100644 (file)
index 0000000..3f7e0cf
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2017 Inocybe Technologies Inc. and others.  All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+           odl:use-default-for-reference-types="true">
+
+  <reference id="domDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker" odl:type="pingpong"/>
+  <reference id="txChainDataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" odl:type="pingpong"/>
+  <reference id="simpleTxDataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
+
+  <bean id="provider" class="org.opendaylight.dsbenchmark.DsbenchmarkProvider"
+          init-method="init" destroy-method="close">
+    <argument ref="domDataBroker"/>
+    <argument ref="txChainDataBroker"/>
+    <argument ref="simpleTxDataBroker"/>
+  </bean>
+
+  <odl:rpc-implementation ref="provider"/>
+</blueprint>