Class InboundXAReq
java.lang.Object
com.ibm.jakarta.connector2.cics.inbound.InboundXAReq
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
commit
(boolean onePhase) Asks the Application Server to commit the transaction branch specified in xid.int
forget()
Asks the Application Server to forget the transaction branch specified in xid.int
int
prepare()
Asks the Application Server to prepare for a transaction commit of the transaction specified in xid.com.ibm.ctg.util.CTGXid[]
recover()
Obtains a list of prepared transaction branches from the Application Server .int
rollback()
Asks the Application Server to rollback the transaction branch specified in xid.void
setErrorCode
(int ec)
-
Field Details
-
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()
-