Merge changes I66f5e0aa,I2aa60123
[transportpce.git] / servicehandler / src / main / resources / OSGI-INF / blueprint / servicehandler-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2017 Orange and others. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9
10 Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
11 -->
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
13   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
14   odl:use-default-for-reference-types="true">
15
16     <reference id="rpcService"
17           interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
18
19     <reference id="dataBroker"
20           interface="org.opendaylight.mdsal.binding.api.DataBroker"
21           odl:type="default" />
22
23     <reference id="notificationService"
24           interface="org.opendaylight.mdsal.binding.api.NotificationService"
25           odl:type="default" />
26
27     <reference id="notificationPublishService"
28           interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"
29           odl:type="default" />
30
31     <reference id="pathComputationService"
32           interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
33
34     <reference id="rendererServiceOperations"
35              interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
36
37     <reference id="networkModelWavelengthService"
38            interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />
39
40     <bean id="provider"
41           class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
42           init-method="init" destroy-method="close">
43         <argument ref="rpcService" />
44         <argument ref="dataBroker" />
45         <argument ref="notificationService" />
46         <argument ref="notificationPublishService" />
47         <argument ref="pathComputationService" />
48         <argument ref="rendererServiceOperations" />
49         <argument ref="networkModelWavelengthService" />
50     </bean>
51
52 </blueprint>