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