public class NewTransactionLifecycleListener extends Object implements TransactionLifecycleListener
Constructor and Description |
---|
NewTransactionLifecycleListener() |
Modifier and Type | Method and Description |
---|---|
void |
committed(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus) |
void |
created(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus) |
protected void |
doCommitted(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus) |
protected void |
doCreated(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus) |
protected void |
doRollbacked(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus,
Throwable throwable) |
void |
rollbacked(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus,
Throwable throwable) |
public void committed(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus)
committed
in interface TransactionLifecycleListener
public void created(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus)
created
in interface TransactionLifecycleListener
public void rollbacked(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus, Throwable throwable)
rollbacked
in interface TransactionLifecycleListener
protected void doCommitted(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus)
protected void doCreated(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus)
protected void doRollbacked(TransactionAttribute transactionAttribute, TransactionStatus transactionStatus, Throwable throwable)