org.jboss.seam.transaction
Class SeSynchronizations

java.lang.Object
  extended by org.jboss.seam.transaction.SeSynchronizations
All Implemented Interfaces:
Synchronizations

@ApplicationScoped
@Veto
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, Stuart Douglas, Lincoln Baxter, III

Field Summary
protected  org.jboss.seam.transaction.ThreadLocalStack<org.jboss.seam.transaction.SynchronizationRegistry> synchronizations
           
 
Constructor Summary
SeSynchronizations()
           
 
Method Summary
 void afterTransactionBegin()
           
 void afterTransactionCompletion(boolean success)
           
 void beforeTransactionCommit()
           
 boolean isAwareOfContainerTransactions()
           
 void registerSynchronization(Synchronization sync)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

synchronizations

protected org.jboss.seam.transaction.ThreadLocalStack<org.jboss.seam.transaction.SynchronizationRegistry> synchronizations
Constructor Detail

SeSynchronizations

public SeSynchronizations()
Method Detail

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

registerSynchronization

public void registerSynchronization(Synchronization sync)
Specified by:
registerSynchronization in interface Synchronizations

isAwareOfContainerTransactions

public boolean isAwareOfContainerTransactions()
Specified by:
isAwareOfContainerTransactions in interface Synchronizations


Copyright © 2011 Seam Framework. All Rights Reserved.