-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- vi: set et smarttab sw=4 tabstop=4: -->\r
-<!--\r
-Copyright © 2017 Orange and others. All rights reserved.\r
-\r
-This program and the accompanying materials are made available under the\r
-terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
-and is available at http://www.eclipse.org/legal/epl-v10.html\r
-\r
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
--->\r
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
- xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
- odl:use-default-for-reference-types="true">\r
-\r
- <reference id="rpcRegistry"\r
- interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
-\r
- <reference id="dataBroker"\r
- interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
- odl:type="default" />\r
-\r
- <reference id="notificationService"\r
- interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
- odl:type="default" />\r
-\r
- <reference id="notificationPublishService"\r
- interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
- odl:type="default" />\r
-\r
- <reference id="pathComputationService"\r
- interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>\r
-\r
- <reference id="rendererServiceOperations"\r
- interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />\r
-\r
- <reference id="networkModelWavelengthService"\r
- interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />\r
-\r
- <bean id="provider"\r
- class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"\r
- init-method="init" destroy-method="close">\r
- <argument ref="rpcRegistry" />\r
- <argument ref="dataBroker" />\r
- <argument ref="notificationService" />\r
- <argument ref="notificationPublishService" />\r
- <argument ref="pathComputationService" />\r
- <argument ref="rendererServiceOperations" />\r
- <argument ref="networkModelWavelengthService" />\r
- </bean>\r
-\r
-</blueprint>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+Copyright © 2017 Orange and others. All rights reserved.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+
+Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+ odl:use-default-for-reference-types="true">
+
+ <reference id="rpcService"
+ interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
+
+ <reference id="dataBroker"
+ interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
+
+ <reference id="notificationService"
+ interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
+
+ <reference id="notificationPublishService"
+ interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/>
+
+ <reference id="pathComputationService"
+ interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
+
+ <reference id="rendererServiceOperations"
+ interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
+ <reference id="networkModelService" interface="org.opendaylight.transportpce.networkmodel.service.NetworkModelService"/>
+
+ <bean id="serviceDatastoreOperation" class="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperationsImpl">
+ <argument ref="dataBroker"/>
+ </bean>
+
+ <bean id="pceListener" class="org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl">
+ <argument ref="rendererServiceOperations" />
+ <argument ref="pathComputationService" />
+ <argument ref="notificationPublishService" />
+ <argument ref="serviceDatastoreOperation" />
+ </bean>
+
+ <bean id="rendererListener" class="org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl">
+ <argument ref="pathComputationService" />
+ <argument ref="notificationPublishService" />
+ <argument ref="networkModelService" />
+ </bean>
+
+ <bean id="networkModelListener" class="org.opendaylight.transportpce.servicehandler.listeners.NetworkModelListenerImpl">
+ <argument ref="notificationPublishService" />
+ <argument ref="serviceDatastoreOperation" />
+ </bean>
+
+ <bean id="serviceHandlerImpl" class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerImpl">
+ <argument ref="dataBroker"/>
+ <argument ref="pathComputationService" />
+ <argument ref="notificationPublishService" />
+ <argument ref="rendererServiceOperations" />
+ <argument ref="pceListener" />
+ <argument ref="rendererListener" />
+ <argument ref="networkModelListener" />
+ <argument ref="serviceDatastoreOperation" />
+ <argument value="ServiceHandler" />
+ </bean>
+
+ <bean id="provider"
+ class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
+ init-method="init" destroy-method="close">
+ <argument ref="rpcService" />
+ <argument ref="dataBroker" />
+ <argument ref="notificationService" />
+ <argument ref="serviceDatastoreOperation" />
+ <argument ref="pceListener" />
+ <argument ref="rendererListener" />
+ <argument ref="networkModelListener" />
+ <argument ref="serviceHandlerImpl" />
+ </bean>
+
+ <service ref="serviceHandlerImpl"
+ interface="org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev190531.OrgOpenroadmServiceService"/>
+
+ <service ref="serviceDatastoreOperation"
+ interface="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperations"/>
+
+</blueprint>