Class OutboundBridgeManager

java.lang.Object
org.jboss.jbossts.txbridge.outbound.OutboundBridgeManager

public class OutboundBridgeManager extends Object
Maintains the mapping data that relates JTA transactions to WS-AT subordinate transactions and related objects. The mappings are scoped to the singleton instance of this class and its lifetime. This poses problems where you have more than one instance (classloading, clusters) or where you need crash recovery. It short, it's rather limited.
Author:
jonathan.halliday@redhat.com, 2009-02-10
  • Field Details

    • BRIDGEWRAPPER_PREFIX

      public static String BRIDGEWRAPPER_PREFIX
  • Constructor Details

    • OutboundBridgeManager

      public OutboundBridgeManager()
  • Method Details

    • getOutboundBridge

      public static OutboundBridge getOutboundBridge()
      Return an OutboundBridge instance that maps the current Thread's JTA transaction context to a WS-AT transaction context. Control of the latter is provided by the returned instance.
      Returns:
      as OutboundBridge corresponding to the calling Thread's current JTA transaction context.
    • removeMapping

      public static void removeMapping(Uid externalTxId)
      Remove the mapping for the given externalTxId. This should be called for gc when the tx is finished.
      Parameters:
      externalTxId - The JTA transaction identifier.