Class OutboundBridgeManager
java.lang.Object
org.jboss.jbossts.txbridge.outbound.OutboundBridgeManager
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutboundBridge
Return an OutboundBridge instance that maps the current Thread's JTA transaction context to a WS-AT transaction context.static void
removeMapping
(Uid externalTxId) Remove the mapping for the given externalTxId.
-
Field Details
-
BRIDGEWRAPPER_PREFIX
-
-
Constructor Details
-
OutboundBridgeManager
public OutboundBridgeManager()
-
-
Method Details
-
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
Remove the mapping for the given externalTxId. This should be called for gc when the tx is finished.- Parameters:
externalTxId
- The JTA transaction identifier.
-