mv BP XML from org/opendaylight to OSGI-INF/
[transportpce.git] / pce / src / main / resources / OSGI-INF / blueprint / pce-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="dataBroker"\r
17         interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
18         odl:type="default"/>\r
19 \r
20   <reference id="rpcRegistry"\r
21         interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\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   <bean id="pceServiceImpl"\r
28         class="org.opendaylight.transportpce.pce.service.PathComputationServiceImpl"\r
29         init-method="init" destroy-method="close">\r
30     <argument ref="dataBroker"/>\r
31     <argument ref="notificationPublishService" />\r
32   </bean>\r
33 \r
34   <bean id="provider"\r
35         class="org.opendaylight.transportpce.pce.impl.PceProvider"\r
36         init-method="init" destroy-method="close">\r
37     <argument ref="rpcRegistry" />\r
38     <argument ref="pceServiceImpl" />\r
39   </bean>\r
40 \r
41   <service ref="pceServiceImpl"\r
42         interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>\r
43 \r
44 </blueprint>\r