Class 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.
      • Methods inherited from class java.lang.Object

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

      • BridgeSynchronization

        public BridgeSynchronization​(org.jboss.jbossts.xts.bridge.at.BridgeWrapper bridgeWrapper)
    • 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 interface javax.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 javax.transaction.Synchronization
        Parameters:
        status - the javax.transaction.Status representing the tx outcome.