public interface TopiaTransactionListener extends EventListener
TopiaContext listens such listeners via javaBeans methods :
TopiaContext,
TopiaTransactionEvent,
TopiaFiresSupport.fireOnPostCommit(TopiaContextImplementor),
TopiaFiresSupport.fireOnPostRollback(TopiaContextImplementor)| Modifier and Type | Method and Description |
|---|---|
void |
commit(TopiaTransactionEvent event)
|
void |
rollback(TopiaTransactionEvent event)
|
void commit(TopiaTransactionEvent event)
TopiaFiresSupport.fireOnPostCommit(TopiaContextImplementor).
Says after a commit was performed on listened transaction.event - the transaction eventvoid rollback(TopiaTransactionEvent event)
TopiaFiresSupport.fireOnPostRollback(TopiaContextImplementor).
Says after a rollback was performed on listened transaction.event - the transaction eventCopyright © 2004–2015 CodeLutin. All rights reserved.