Class BridgeSynchronization

java.lang.Object
org.jboss.jbossts.txbridge.outbound.BridgeSynchronization
All Implemented Interfaces:
jakarta.transaction.Synchronization

public class BridgeSynchronization extends Object implements jakarta.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

    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
    The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BridgeSynchronization

      public BridgeSynchronization(org.jboss.jbossts.xts.bridge.at.BridgeWrapper bridgeWrapper)
  • Method Details

    • 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 interface jakarta.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 interface jakarta.transaction.Synchronization
      Parameters:
      status - the jakarta.transaction.Status representing the tx outcome.