public interface TransactionListener
TransactionListener
SPI is used to intercept the
TransactionProvider
's transaction events.Modifier and Type | Method and Description |
---|---|
void |
beginEnd(TransactionContext ctx)
Called after
TransactionProvider.begin(TransactionContext) . |
void |
beginStart(TransactionContext ctx)
Called before
TransactionProvider.begin(TransactionContext) . |
void |
commitEnd(TransactionContext ctx)
Called after
TransactionProvider.commit(TransactionContext) . |
void |
commitStart(TransactionContext ctx)
Called before
TransactionProvider.commit(TransactionContext) . |
void |
rollbackEnd(TransactionContext ctx)
Called after
TransactionProvider.rollback(TransactionContext) . |
void |
rollbackStart(TransactionContext ctx)
Called before
TransactionProvider.rollback(TransactionContext) . |
void beginStart(TransactionContext ctx)
TransactionProvider.begin(TransactionContext)
.void beginEnd(TransactionContext ctx)
TransactionProvider.begin(TransactionContext)
.void commitStart(TransactionContext ctx)
TransactionProvider.commit(TransactionContext)
.void commitEnd(TransactionContext ctx)
TransactionProvider.commit(TransactionContext)
.void rollbackStart(TransactionContext ctx)
TransactionProvider.rollback(TransactionContext)
.void rollbackEnd(TransactionContext ctx)
TransactionProvider.rollback(TransactionContext)
.Copyright © 2017. All Rights Reserved.