org.jboss.seam.transaction
Class TransactionManagerSynchronizations
java.lang.Object
org.jboss.seam.transaction.TransactionManagerSynchronizations
- All Implemented Interfaces:
- Synchronization, Synchronizations
@ApplicationScoped
@DefaultBean(value=Synchronizations.class)
public class TransactionManagerSynchronizations
- extends Object
- implements Synchronization, Synchronizations
Synchronizations implementation that registers synchronizations with a JTA TransactionManager
Field Summary |
protected org.jboss.seam.transaction.ThreadLocalStack<org.jboss.seam.transaction.SynchronizationRegistry> |
synchronizations
|
protected org.jboss.seam.transaction.ThreadLocalStack<Transaction> |
transactions
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
synchronizations
protected org.jboss.seam.transaction.ThreadLocalStack<org.jboss.seam.transaction.SynchronizationRegistry> synchronizations
transactions
protected org.jboss.seam.transaction.ThreadLocalStack<Transaction> transactions
TransactionManagerSynchronizations
public TransactionManagerSynchronizations()
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface Synchronization
isAwareOfContainerTransactions
public boolean isAwareOfContainerTransactions()
- Specified by:
isAwareOfContainerTransactions
in interface Synchronizations
registerSynchronization
public void registerSynchronization(Synchronization sync)
- Specified by:
registerSynchronization
in interface Synchronizations
getTransactionManager
public TransactionManager getTransactionManager()
afterTransactionBegin
public void afterTransactionBegin()
- Specified by:
afterTransactionBegin
in interface Synchronizations
afterTransactionCompletion
public void afterTransactionCompletion(boolean success)
- Specified by:
afterTransactionCompletion
in interface Synchronizations
beforeTransactionCommit
public void beforeTransactionCommit()
- Specified by:
beforeTransactionCommit
in interface Synchronizations
Copyright © 2011 Seam Framework. All Rights Reserved.