Module org.jooq
Package org.jooq.impl

Class CallbackTransactionListener

java.lang.Object
org.jooq.impl.CallbackTransactionListener
All Implemented Interfaces:
TransactionListener

public final class CallbackTransactionListener extends Object implements TransactionListener
A TransactionListener that allows for functional composition.

For example:


 TransactionListener listener = TransactionListener
   .onCommitStart(ctx -> something())
   .onCommitEnd(ctx -> something());
 
Author:
Lukas Eder