Reduce preliferation of TransactionChainHandler
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / services / wrapper / ServicesWrapper.java
index 956d84cf95ac574c085c2a947bec6ad35efc9aca..ca9299e8486b1e894c771a7adffa9e8e82c44658 100644 (file)
@@ -83,7 +83,7 @@ public final class ServicesWrapper implements BaseServicesWrapper, TransactionSe
             yangTextSourceProvider);
         RestconfStreamsSubscriptionService restconfSubscrService = new RestconfStreamsSubscriptionServiceImpl(
             dataBroker, notificationService, schemaCtxHandler, transactionChainHandler, configuration);
-        RestconfDataService restconfDataService = new RestconfDataServiceImpl(schemaCtxHandler, transactionChainHandler,
+        RestconfDataService restconfDataService = new RestconfDataServiceImpl(schemaCtxHandler, dataBroker,
             mountPointService, restconfSubscrService, actionService, configuration);
         RestconfInvokeOperationsService restconfInvokeOpsService = new RestconfInvokeOperationsServiceImpl(rpcService,
             schemaCtxHandler);