- CatalogDataStoreOperations catalogDataStoreOperations = new CatalogDataStoreOperationsImpl(networkTransaction);
- OrgOpenroadmServiceService servicehandler = new ServicehandlerImpl(pathComputationService,
- rendererServiceOperations, lightyServices.getBindingNotificationPublishService(), pceListenerImpl,
- rendererListenerImpl, networkModelListenerImpl, serviceDataStoreOperations, catalogDataStoreOperations);
- ServiceListener serviceListener = new ServiceListener(servicehandler, serviceDataStoreOperations,
- lightyServices.getBindingNotificationPublishService());
- servicehandlerProvider = new ServicehandlerProvider(lightyServices.getBindingDataBroker(),
- lightyServices.getRpcProviderService(), lightyServices.getNotificationService(),
- serviceDataStoreOperations, pceListenerImpl, rendererListenerImpl, networkModelListenerImpl,
- lightyServices.getBindingNotificationPublishService(), servicehandler, serviceListener);
+ OrgOpenroadmServiceService servicehandler = new ServicehandlerImpl(
+ pathComputationService, rendererServiceOperations,
+ lightyServices.getBindingNotificationPublishService(), pceListenerImpl,
+ rendererListenerImpl, networkModelListenerImpl, serviceDataStoreOperations,
+ new CatalogDataStoreOperationsImpl(networkTransaction));
+ servicehandlerProvider = new ServicehandlerProvider(
+ lightyServices.getBindingDataBroker(), lightyServices.getRpcProviderService(),
+ lightyServices.getNotificationService(), serviceDataStoreOperations, pceListenerImpl,
+ rendererListenerImpl, networkModelListenerImpl, lightyServices.getBindingNotificationPublishService(),
+ servicehandler,
+ new ServiceListener(
+ servicehandler, serviceDataStoreOperations, lightyServices.getBindingNotificationPublishService()));