Java javax.transaction.xa XAResource fields, constructors, methods, implement or subclass

Example usage for Java javax.transaction.xa XAResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.transaction.xa XAResource.

The text is from its open source code.

Implementation

javax.transaction.xa.XAResource has the following implementations.
Click this link to see all its implementation.

Field

intTMENDRSCAN
Ends a recovery scan.
intTMFAIL
Disassociates the caller and marks the transaction branch rollback-only.
intTMJOIN
Caller is joining existing transaction branch.
intTMNOFLAGS
Use TMNOFLAGS to indicate no flags value is selected.
intTMRESUME
Caller is resuming association with a suspended transaction branch.
intTMSUCCESS
Disassociates caller from a transaction branch.
intTMSUSPEND
Caller is suspending (not ending) its association with a transaction branch.
intXA_RDONLY
The transaction branch has been read-only and has been committed.
intXA_OK
The transaction work has been prepared normally.

Method

voidcommit(Xid xid, boolean onePhase)
Commits the global transaction specified by xid.
voidend(Xid xid, int flags)
Ends the work performed on behalf of a transaction branch.
inthashCode()
Returns a hash code value for the object.
intprepare(Xid xid)
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.
voidrollback(Xid xid)
Informs the resource manager to roll back work done on behalf of a transaction branch.
voidstart(Xid xid, int flags)
Starts work on behalf of a transaction branch specified in xid.