Initial commit for ServiceHandler
[transportpce.git] / servicehandler / src / main / resources / org / opendaylight / blueprint / Servicehandler-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->\r
3 <!--\r
4 Copyright © 2017 Orange and others. All rights reserved.\r
5 \r
6 This program and the accompanying materials are made available under the\r
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
8 and is available at http://www.eclipse.org/legal/epl-v10.html\r
9 \r
10 Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
11 -->\r
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
13   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
14   odl:use-default-for-reference-types="true">\r
15 \r
16         <reference id="rpcRegistry"\r
17                 interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
18 \r
19         <reference id="dataBroker"\r
20                 interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
21                 odl:type="default" />\r
22 \r
23         <reference id="notificationPublishService"\r
24           interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
25           odl:type="default" />\r
26 \r
27         <reference id="notificationService"\r
28           interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
29           odl:type="default" />\r
30 \r
31         <bean id="provider"\r
32         class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"\r
33         init-method="init" destroy-method="close">\r
34                 <argument ref="rpcRegistry" />\r
35                 <argument ref="dataBroker" />\r
36                 <argument ref="notificationPublishService" />\r
37                 <argument ref="notificationService"/>\r
38         </bean>\r
39 </blueprint>\r