/**
* Create a new transaction chain. The chain will be initialized to read from its backing datastore, with
- * no outstanding transaction. Listener will be registered to handle chain-level events.
+ * no outstanding transaction.
*
- * @param listener Transaction chain event listener
* @return A new transaction chain.
*/
- @NonNull DOMTransactionChain createTransactionChain(DOMTransactionChainListener listener);
+ @NonNull DOMTransactionChain createTransactionChain();
/**
* Create a new transaction chain. The chain will be initialized to read from its backing datastore, with
- * no outstanding transaction. Listener will be registered to handle chain-level events.
+ * no outstanding transaction.
*
* <p>
- * Unlike {@link #createTransactionChain(DOMTransactionChainListener)}, the transaction chain returned by this
- * method is allowed to merge individual transactions into larger chunks. When transactions are merged, the results
- * must be indistinguishable from the result of all operations having been performed on a single transaction.
+ * Unlike {@link #createTransactionChain()}, the transaction chain returned by this method is allowed to merge
+ * individual transactions into larger chunks. When transactions are merged, the results must be indistinguishable
+ * from the result of all operations having been performed on a single transaction.
*
* <p>
* When transactions are merged, {@link DOMTransactionChain#newReadOnlyTransaction()} may actually be backed by
* a read-write transaction, hence an additional restriction on API use is that multiple read-only transactions
* may not be open at the same time.
*
- * @param listener Transaction chain event listener
* @return A new transaction chain.
*/
- @NonNull DOMTransactionChain createMergingTransactionChain(DOMTransactionChainListener listener);
+ @NonNull DOMTransactionChain createMergingTransactionChain();
}