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 <bean id="serviceDatastoreOperation" class="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperationsImpl">
35 <argument ref="dataBroker"/>
38 <bean id="pceListener" class="org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl">
39 <argument ref="rendererServiceOperations" />
40 <argument ref="pathComputationService" />
41 <argument ref="notificationPublishService" />
42 <argument ref="serviceDatastoreOperation" />
45 <bean id="rendererListener" class="org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl">
46 <argument ref="pathComputationService" />
47 <argument ref="notificationPublishService" />
50 <bean id="networkModelListener" class="org.opendaylight.transportpce.servicehandler.listeners.NetworkModelListenerImpl">
51 <argument ref="notificationPublishService" />
52 <argument ref="serviceDatastoreOperation" />
55 <bean id="serviceHandlerImpl" class="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperationsImpl">
56 <argument ref="dataBroker"/>
57 <argument ref="pathComputationService" />
58 <argument ref="notificationPublishService" />
59 <argument ref="rendererServiceOperations" />
60 <argument ref="pceListener" />
61 <argument ref="rendererListener" />
62 <argument ref="networkModelListener" />
66 class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
67 init-method="init" destroy-method="close">
68 <argument ref="rpcService" />
69 <argument ref="dataBroker" />
70 <argument ref="notificationService" />
71 <argument ref="notificationPublishService" />
72 <argument ref="pathComputationService" />
73 <argument ref="rendererServiceOperations" />
76 <service ref="serviceHandlerImpl"
77 interface="org.opendaylight.transportpce.servicehandler.service.ServiceHandlerOperations"/>