Class BridgeSynchronization
- java.lang.Object
-
- org.jboss.jbossts.txbridge.outbound.BridgeSynchronization
-
- All Implemented Interfaces:
javax.transaction.Synchronization
public class BridgeSynchronization extends java.lang.Object implements javax.transaction.Synchronization
Provides method call mapping between JTA parent coordinator and WS-AT subordinate transaction.- Author:
- jonathan.halliday@redhat.com, 2009-06-01
-
-
Constructor Summary
Constructors Constructor Description BridgeSynchronization(org.jboss.jbossts.xts.bridge.at.BridgeWrapper bridgeWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCompletion(int status)
This method is called by the transaction manager after the transaction is committed or rolled back.void
beforeCompletion()
The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.
-
-
-
Method Detail
-
beforeCompletion
public void beforeCompletion()
The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.- Specified by:
beforeCompletion
in interfacejavax.transaction.Synchronization
-
afterCompletion
public void afterCompletion(int status)
This method is called by the transaction manager after the transaction is committed or rolled back.- Specified by:
afterCompletion
in interfacejavax.transaction.Synchronization
- Parameters:
status
- the javax.transaction.Status representing the tx outcome.
-
-