Initial commit for OLM
[transportpce.git] / olm / src / main / resources / org / opendaylight / blueprint / olm-blueprint.xml
diff --git a/olm/src/main/resources/org/opendaylight/blueprint/olm-blueprint.xml b/olm/src/main/resources/org/opendaylight/blueprint/olm-blueprint.xml
new file mode 100644 (file)
index 0000000..b8ed336
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+Copyright © 2016 Orange 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="dataBroker"
+    interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
+    odl:type="default" />
+  <reference id="mountPointService"
+    interface="org.opendaylight.controller.md.sal.binding.api.MountPointService" />
+  <reference id="rpcProviderRegistry"
+    interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry" />
+  <bean id="provider"
+    class="org.opendaylight.transportpce.olm.OlmProvider"
+    init-method="init" destroy-method="close">
+    <argument ref="dataBroker" />
+    <argument ref="mountPointService" />
+    <argument ref="rpcProviderRegistry" />
+  </bean>
+
+</blueprint>