X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=servicehandler%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fservicehandler%2Fimpl%2FServicehandlerProvider.java;h=ec1e2f55649c13085795b59eac4dac554a814efa;hb=39b006abcabecfe5177181eed53ede1abb760f28;hp=33c268cf5b7c5591fa7db427673f4db3e3e401dd;hpb=98aad464f3f7759b73fecce2f5ac08d0e4e547e1;p=transportpce.git diff --git a/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java b/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java index 33c268cf5..ec1e2f556 100644 --- a/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java +++ b/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java @@ -13,7 +13,6 @@ import org.opendaylight.mdsal.binding.api.NotificationPublishService; import org.opendaylight.mdsal.binding.api.NotificationService; import org.opendaylight.mdsal.binding.api.RpcProviderService; import org.opendaylight.transportpce.pce.service.PathComputationService; -import org.opendaylight.transportpce.renderer.NetworkModelWavelengthService; import org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations; import org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl; import org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl; @@ -38,7 +37,6 @@ public class ServicehandlerProvider { private final DataBroker dataBroker; private final RpcProviderService rpcService; private final NotificationService notificationService; - private final NetworkModelWavelengthService networkModelWavelengthService; private final NotificationPublishService notificationPublishService; private ListenerRegistration pcelistenerRegistration; private ListenerRegistration rendererlistenerRegistration; @@ -49,14 +47,12 @@ public class ServicehandlerProvider { public ServicehandlerProvider(final DataBroker dataBroker, RpcProviderService rpcProviderService, NotificationService notificationService, PathComputationService pathComputationService, RendererServiceOperations rendererServiceOperations, - NetworkModelWavelengthService networkModelWavelengthService, NotificationPublishService notificationPublishService) { this.dataBroker = dataBroker; this.rpcService = rpcProviderService; this.notificationService = notificationService; this.pathComputationService = pathComputationService; this.rendererServiceOperations = rendererServiceOperations; - this.networkModelWavelengthService = networkModelWavelengthService; this.notificationPublishService = notificationPublishService; } @@ -72,8 +68,7 @@ public class ServicehandlerProvider { pcelistenerRegistration = notificationService.registerNotificationListener(pceListenerImpl); rendererlistenerRegistration = notificationService.registerNotificationListener(rendererListenerImpl); final ServicehandlerImpl servicehandler = new ServicehandlerImpl(dataBroker, pathComputationService, - rendererServiceOperations, notificationPublishService, pceListenerImpl, rendererListenerImpl, - networkModelWavelengthService); + rendererServiceOperations, notificationPublishService, pceListenerImpl, rendererListenerImpl); rpcRegistration = rpcService.registerRpcImplementation(OrgOpenroadmServiceService.class, servicehandler); }