- /**
- * Add callback to the future object and close transaction chain.
- *
- * @param listenableFuture
- * future object
- * @param txType
- * type of operation (READ, POST, PUT, DELETE)
- * @param dataFactory
- * factory setting result
- * @param transactionChain
- * transaction chain
- * @param path
- * unique identifier of a particular node instance in the data tree.
- * @throws RestconfDocumentedException
- * if the Future throws an exception
- */
- static <T> void addCallback(final ListenableFuture<T> listenableFuture, final String txType,
- final FutureDataFactory<? super T> dataFactory, @Nullable final DOMTransactionChain transactionChain,
- YangInstanceIdentifier path) throws RestconfDocumentedException {