Class InboundBridge

java.lang.Object
org.jboss.jbossts.txbridge.inbound.InboundBridge

public class InboundBridge extends Object
Manages Thread association of the interposed coordinator. Typically called from handlers in the WS stack.
Author:
jonathan.halliday@redhat.com, 2007-04-30
  • Method Details

    • getXid

      public Xid getXid()
    • start

      public void start() throws XAException, jakarta.transaction.SystemException, jakarta.transaction.InvalidTransactionException
      Associate the JTA transaction to the current Thread. Typically used by a server side inbound handler.
      Throws:
      XAException
      jakarta.transaction.SystemException
      jakarta.transaction.InvalidTransactionException
    • stop

      public void stop() throws XAException, jakarta.transaction.SystemException, jakarta.transaction.InvalidTransactionException
      Disassociate the JTA transaction from the current Thread. Typically used by a server side outbound handler.
      Throws:
      XAException
      jakarta.transaction.SystemException
      jakarta.transaction.InvalidTransactionException
    • setRollbackOnly

      public void setRollbackOnly() throws XAException, jakarta.transaction.SystemException
      Throws:
      XAException
      jakarta.transaction.SystemException