Initial commit for ServiceHandler
[transportpce.git] / stubrenderer / src / main / resources / org / opendaylight / blueprint / stubrenderer-blueprint.xml
diff --git a/stubrenderer/src/main/resources/org/opendaylight/blueprint/stubrenderer-blueprint.xml b/stubrenderer/src/main/resources/org/opendaylight/blueprint/stubrenderer-blueprint.xml
new file mode 100644 (file)
index 0000000..dff4691
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- vi: set et smarttab sw=4 tabstop=4: -->\r
+<!--\r
+Copyright © 2017 Orange and others. All rights reserved.\r
+\r
+This program and the accompanying materials are made available under the\r
+terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+and is available at http://www.eclipse.org/legal/epl-v10.html\r
+\r
+Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
+-->\r
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
+  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
+  odl:use-default-for-reference-types="true">\r
+\r
+  <reference id="rpcRegistry"\r
+       interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
+\r
+  <reference id="notificationPublishService"\r
+          interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
+          odl:type="default" />\r
+\r
+   <reference id="notificationService"\r
+          interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
+          odl:type="default" />\r
+\r
+  <bean id="provider"\r
+    class="org.opendaylight.transportpce.stubrenderer.impl.StubrendererProvider"\r
+    init-method="init" destroy-method="close">\r
+    <argument ref="rpcRegistry" />\r
+    <argument ref="notificationPublishService" />\r
+    <argument ref="notificationService"/>\r
+  </bean>\r
+\r
+</blueprint>\r