TAPI topology creation for 100GE Transponder
[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="serviceDatastoreOperation" class="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperationsImpl">
41         <argument ref="dataBroker"/>
42       </bean>
43
44      <bean id="pceListerner" class="org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl">
45         <argument ref="rendererServiceOperations" />
46         <argument ref="pathComputationService" />
47         <argument ref="notificationPublishService" />
48         <argument ref="serviceDatastoreOperation" />
49     </bean>
50
51      <bean id="rendererListerner" class="org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl">
52         <argument ref="pathComputationService" />
53         <argument ref="notificationPublishService" />
54     </bean>
55
56     <bean id="serviceHandlerImpl" class="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperationsImpl">
57         <argument ref="dataBroker"/>
58         <argument ref="pathComputationService" />
59         <argument ref="notificationPublishService" />
60         <argument ref="rendererServiceOperations" />
61         <argument ref="networkModelWavelengthService" />
62         <argument ref="pceListerner" />
63         <argument ref="rendererListerner" />
64     </bean>
65
66     <bean id="provider"
67           class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
68           init-method="init" destroy-method="close">
69         <argument ref="rpcService" />
70         <argument ref="dataBroker" />
71         <argument ref="notificationService" />
72         <argument ref="notificationPublishService" />
73         <argument ref="pathComputationService" />
74         <argument ref="rendererServiceOperations" />
75         <argument ref="networkModelWavelengthService" />
76     </bean>
77
78     <service ref="serviceHandlerImpl"
79         interface="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperations"/>
80
81 </blueprint>