org.jboss.seam.transaction
Class SeSynchronizations
java.lang.Object
org.jboss.seam.transaction.SeSynchronizations
- All Implemented Interfaces:
- Synchronizations
@Name(value="org.jboss.seam.transaction.synchronizations")
@Scope(value=EVENT)
@Install(precedence=0)
@BypassInterceptors
public class SeSynchronizations
- extends Object
- implements Synchronizations
This implementation does not have access to the JTA TransactionManager, so it
is not fully aware of container managed transaction lifecycle, and is not
able to register Synchronizations with a container managed transaction.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
synchronizations
protected Stack<org.jboss.seam.transaction.SynchronizationRegistry> synchronizations
SeSynchronizations
public SeSynchronizations()
afterTransactionBegin
public void afterTransactionBegin()
- Specified by:
afterTransactionBegin
in interface Synchronizations
afterTransactionCommit
public void afterTransactionCommit(boolean success)
- Specified by:
afterTransactionCommit
in interface Synchronizations
afterTransactionRollback
public void afterTransactionRollback()
- Specified by:
afterTransactionRollback
in interface Synchronizations
beforeTransactionCommit
public void beforeTransactionCommit()
- Specified by:
beforeTransactionCommit
in interface Synchronizations
registerSynchronization
public void registerSynchronization(Synchronization sync)
- Specified by:
registerSynchronization
in interface Synchronizations
isAwareOfContainerTransactions
public boolean isAwareOfContainerTransactions()
- Specified by:
isAwareOfContainerTransactions
in interface Synchronizations