1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2017 Orange and others. All rights reserved.
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
10 Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
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">
16 <reference id="rpcService"
17 interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
19 <reference id="dataBroker"
20 interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
22 <reference id="notificationService"
23 interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
25 <reference id="notificationPublishService"
26 interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/>
28 <reference id="pathComputationService"
29 interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
31 <reference id="rendererServiceOperations"
32 interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
34 <reference id="networkModelWavelengthService"
35 interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />
37 <bean id="serviceDatastoreOperation" class="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperationsImpl">
38 <argument ref="dataBroker"/>
41 <bean id="pceListener" class="org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl">
42 <argument ref="rendererServiceOperations" />
43 <argument ref="pathComputationService" />
44 <argument ref="notificationPublishService" />
45 <argument ref="serviceDatastoreOperation" />
48 <bean id="rendererListener" class="org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl">
49 <argument ref="pathComputationService" />
50 <argument ref="notificationPublishService" />
53 <bean id="serviceHandlerImpl" class="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperationsImpl">
54 <argument ref="dataBroker"/>
55 <argument ref="pathComputationService" />
56 <argument ref="notificationPublishService" />
57 <argument ref="rendererServiceOperations" />
58 <argument ref="networkModelWavelengthService" />
59 <argument ref="pceListener" />
60 <argument ref="rendererListener" />
64 class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
65 init-method="init" destroy-method="close">
66 <argument ref="rpcService" />
67 <argument ref="dataBroker" />
68 <argument ref="notificationService" />
69 <argument ref="notificationPublishService" />
70 <argument ref="pathComputationService" />
71 <argument ref="rendererServiceOperations" />
72 <argument ref="networkModelWavelengthService" />
75 <service ref="serviceHandlerImpl"
76 interface="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperations"/>