org.springframework.transaction.jta
Class JtaAfterCompletionSynchronization
java.lang.Object
org.springframework.transaction.jta.JtaAfterCompletionSynchronization
- All Implemented Interfaces:
- Synchronization
public class JtaAfterCompletionSynchronization
- extends Object
- implements Synchronization
Adapter for a JTA Synchronization, invoking the afterCompletion
of
Spring TransactionSynchronizations after the outer JTA transaction has completed.
Applied when participating in an existing (non-Spring) JTA transaction.
- Since:
- 2.0
- Author:
- Juergen Hoeller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JtaAfterCompletionSynchronization
public JtaAfterCompletionSynchronization(List synchronizations)
- Create a new JtaAfterCompletionSynchronization for the given synchronization objects.
- Parameters:
synchronizations
- the List of TransactionSynchronization objects- See Also:
TransactionSynchronization
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface Synchronization
Copyright © 2002-2007 The Spring Framework.