java.lang.Object
org.jooq.impl.DefaultTransactionListener
- All Implemented Interfaces:
TransactionListener
A publicly available default implementation of
TransactionListener
.
Use this to stay compatible with future API changes (i.e. added methods to
TransactionListener
)
- Author:
- Lukas Eder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginEnd(TransactionContext ctx)
Called afterTransactionProvider.begin(TransactionContext)
.void
beginStart(TransactionContext ctx)
Called beforeTransactionProvider.begin(TransactionContext)
.void
commitEnd(TransactionContext ctx)
Called afterTransactionProvider.commit(TransactionContext)
.void
Called beforeTransactionProvider.commit(TransactionContext)
.void
Called afterTransactionProvider.rollback(TransactionContext)
.void
Called beforeTransactionProvider.rollback(TransactionContext)
.
-
Constructor Details
-
DefaultTransactionListener
public DefaultTransactionListener()
-
-
Method Details
-
beginStart
Description copied from interface:TransactionListener
Called beforeTransactionProvider.begin(TransactionContext)
.- Specified by:
beginStart
in interfaceTransactionListener
-
beginEnd
Description copied from interface:TransactionListener
Called afterTransactionProvider.begin(TransactionContext)
.- Specified by:
beginEnd
in interfaceTransactionListener
-
commitStart
Description copied from interface:TransactionListener
Called beforeTransactionProvider.commit(TransactionContext)
.- Specified by:
commitStart
in interfaceTransactionListener
-
commitEnd
Description copied from interface:TransactionListener
Called afterTransactionProvider.commit(TransactionContext)
.- Specified by:
commitEnd
in interfaceTransactionListener
-
rollbackStart
Description copied from interface:TransactionListener
Called beforeTransactionProvider.rollback(TransactionContext)
.- Specified by:
rollbackStart
in interfaceTransactionListener
-
rollbackEnd
Description copied from interface:TransactionListener
Called afterTransactionProvider.rollback(TransactionContext)
.- Specified by:
rollbackEnd
in interfaceTransactionListener
-