Class InboundBridgeManager
java.lang.Object
org.jboss.jbossts.txbridge.inbound.InboundBridgeManager
Maintains the mapping data that relates WS-AT transactions to JTA 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, 2007-04-30
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InboundBridge
Return an InboundBridge instance that maps the current Thread's WS transaction context to a JTA context.static boolean
static void
removeMapping
(String externalTxId) Remove the mapping for the given externalTxId.
-
Constructor Details
-
InboundBridgeManager
public InboundBridgeManager()
-
-
Method Details
-
getInboundBridge
public static InboundBridge getInboundBridge() throws XAException, WrongStateException, UnknownTransactionException, SystemException, jakarta.transaction.SystemException, AlreadyRegisteredExceptionReturn an InboundBridge instance that maps the current Thread's WS transaction context to a JTA context. Control of the latter is provided by the returned instance.- Returns:
- an InboundBridge corresponding to the calling Thread's current WS-AT transaction context.
- Throws:
WrongStateException
UnknownTransactionException
SystemException
AlreadyRegisteredException
XAException
jakarta.transaction.SystemException
-
removeMapping
Remove the mapping for the given externalTxId. This should be called for gc when the tx is finished.- Parameters:
externalTxId
- The WS-AT tx identifier.
-
isLive
-