public class DefaultTransactionListener extends Object implements TransactionListener
TransactionListener
.
Use this to stay compatible with future API changes (i.e. added methods to
TransactionListener
)
Constructor and Description |
---|
DefaultTransactionListener() |
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) . |
public void beginStart(TransactionContext ctx)
TransactionListener
TransactionProvider.begin(TransactionContext)
.beginStart
in interface TransactionListener
public void beginEnd(TransactionContext ctx)
TransactionListener
TransactionProvider.begin(TransactionContext)
.beginEnd
in interface TransactionListener
public void commitStart(TransactionContext ctx)
TransactionListener
TransactionProvider.commit(TransactionContext)
.commitStart
in interface TransactionListener
public void commitEnd(TransactionContext ctx)
TransactionListener
TransactionProvider.commit(TransactionContext)
.commitEnd
in interface TransactionListener
public void rollbackStart(TransactionContext ctx)
TransactionListener
TransactionProvider.rollback(TransactionContext)
.rollbackStart
in interface TransactionListener
public void rollbackEnd(TransactionContext ctx)
TransactionListener
TransactionProvider.rollback(TransactionContext)
.rollbackEnd
in interface TransactionListener
Copyright © 2019. All rights reserved.