Class InboundXAReq

java.lang.Object
com.ibm.jakarta.connector2.cics.inbound.InboundXAReq

public class InboundXAReq extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    jakarta.resource.spi.XATerminator
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    commit(boolean onePhase)
    Asks the Application Server to commit the transaction branch specified in xid.
    int
    Asks the Application Server to forget the transaction branch specified in xid.
    int
     
    int
    Asks the Application Server to prepare for a transaction commit of the transaction specified in xid.
    com.ibm.ctg.util.CTGXid[]
    Obtains a list of prepared transaction branches from the Application Server .
    int
    Asks the Application Server to rollback the transaction branch specified in xid.
    void
    setErrorCode(int ec)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLASS_VERSION

      public static final String CLASS_VERSION
      See Also:
    • xaTerminator

      public jakarta.resource.spi.XATerminator xaTerminator
  • Method Details

    • prepare

      public int prepare()
      Asks the Application Server to prepare for a transaction commit of the transaction specified in xid.
      Returns:
      XAResource.XA_OK If the prepare call is successful
    • commit

      public int commit(boolean onePhase)
      Asks the Application Server to commit the transaction branch specified in xid.
      Parameters:
      onePhase - Indicate whether the global transaction has be optimized to a one phase transaction.
    • rollback

      public int rollback()
      Asks the Application Server to rollback the transaction branch specified in xid.
    • forget

      public int forget()
      Asks the Application Server to forget the transaction branch specified in xid.
    • recover

      public com.ibm.ctg.util.CTGXid[] recover()
      Obtains a list of prepared transaction branches from the Application Server . If the start flag is received then all prepared transaction branches will be returned. If the start flag is not received an empty array will be returned.
    • setErrorCode

      public void setErrorCode(int ec)
    • getErrorCode

      public int getErrorCode()