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"
23 <reference id="notificationService"
24 interface="org.opendaylight.mdsal.binding.api.NotificationService"
27 <reference id="notificationPublishService"
28 interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"
31 <reference id="pathComputationService"
32 interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
34 <reference id="rendererServiceOperations"
35 interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
37 <reference id="networkModelWavelengthService"
38 interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />
40 <bean id="serviceDatastoreOperation" class="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperationsImpl">
41 <argument ref="dataBroker"/>
44 <bean id="pceListener" class="org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl">
45 <argument ref="rendererServiceOperations" />
46 <argument ref="pathComputationService" />
47 <argument ref="notificationPublishService" />
48 <argument ref="serviceDatastoreOperation" />
51 <bean id="rendererListener" class="org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl">
52 <argument ref="pathComputationService" />
53 <argument ref="notificationPublishService" />
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="pceListener" />
63 <argument ref="rendererListener" />
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" />
78 <service ref="serviceHandlerImpl"
79 interface="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperations"/>