Convert ntfbenchmark to blueprint
[controller.git] / benchmark / ntfbenchmark / src / main / resources / org / opendaylight / blueprint / ntfbenchmark.xml
diff --git a/benchmark/ntfbenchmark/src/main/resources/org/opendaylight/blueprint/ntfbenchmark.xml b/benchmark/ntfbenchmark/src/main/resources/org/opendaylight/blueprint/ntfbenchmark.xml
new file mode 100644 (file)
index 0000000..93ba1ce
--- /dev/null
@@ -0,0 +1,23 @@
+<?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="publishService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"/>
+  <reference id="listenerService" interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"/>
+
+  <bean id="provider" class="ntfbenchmark.impl.NtfbenchmarkProvider"
+          init-method="init" destroy-method="close">
+    <argument ref="publishService"/>
+    <argument ref="listenerService"/>
+  </bean>
+
+  <odl:rpc-implementation ref="provider"/>
+</blueprint>