Improve tests and blueprints of Netty Replication Utility
[mdsal.git] / replicate / mdsal-replicate-netty / src / main / resources / OSGI-INF / blueprint / netty-replication-common.xml
diff --git a/replicate/mdsal-replicate-netty/src/main/resources/OSGI-INF/blueprint/netty-replication-common.xml b/replicate/mdsal-replicate-netty/src/main/resources/OSGI-INF/blueprint/netty-replication-common.xml
new file mode 100644 (file)
index 0000000..e394dfa
--- /dev/null
@@ -0,0 +1,13 @@
+<?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">
+
+    <reference id="dataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker" odl:type="default"/>
+
+    <reference id="singletonServiceProvider" interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"
+               odl:type="default"/>
+
+    <bean id="bootstrapSupport" class="org.opendaylight.mdsal.replicate.netty.AbstractBootstrapSupport"
+          factory-method="create" destroy-method="close"/>
+    <service ref="bootstrapSupport" interface="org.opendaylight.mdsal.replicate.netty.BootstrapSupport"/>
+</blueprint>