7e0569a6093db973c7094741fe351fefb2f3d33e
[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="notificationService"\r
24           interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
25           odl:type="default" />\r
26 \r
27     <reference id="pathComputationService"\r
28           interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>\r
29 \r
30     <reference id="rendererServiceOperations"\r
31              interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />\r
32 \r
33     <bean id="provider"\r
34           class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"\r
35           init-method="init" destroy-method="close">\r
36         <argument ref="rpcRegistry" />\r
37         <argument ref="dataBroker" />\r
38         <argument ref="notificationService" />\r
39         <argument ref="pathComputationService" />\r
40         <argument ref="rendererServiceOperations" />\r
41     </bean>\r
42 \r
43 </blueprint>\r