javax.transaction.xa

Interface XAResource

public interface XAResource

UNKNOWN: May 25, 2001

Field Summary
intTMENDRSCAN
intTMFAIL
intTMJOIN
intTMNOFLAGS
intTMONEPHASE
intTMRESUME
intTMSTARTRSCAN
intTMSUCCESS
intTMSUSPEND
intXA_OK
intXA_RDONLY
Method Summary
voidcommit(Xid xid, boolean onePhase)
voidend(Xid xid, int flags)
voidforget(Xid xid)
intgetTransactionTimeout()
booleanisSameRM(XAResource xares)
intprepare(Xid xid)
Xid[]recover(int flag)
voidrollback(Xid xid)
booleansetTransactionTimeout(int seconds)
voidstart(Xid xid, int flags)

Field Detail

TMENDRSCAN

public int TMENDRSCAN

TMFAIL

public int TMFAIL

TMJOIN

public int TMJOIN

TMNOFLAGS

public int TMNOFLAGS

TMONEPHASE

public int TMONEPHASE

TMRESUME

public int TMRESUME

TMSTARTRSCAN

public int TMSTARTRSCAN

TMSUCCESS

public int TMSUCCESS

TMSUSPEND

public int TMSUSPEND

XA_OK

public int XA_OK

XA_RDONLY

public int XA_RDONLY

Method Detail

commit

public void commit(Xid xid, boolean onePhase)

end

public void end(Xid xid, int flags)

forget

public void forget(Xid xid)

getTransactionTimeout

public int getTransactionTimeout()

isSameRM

public boolean isSameRM(XAResource xares)

prepare

public int prepare(Xid xid)

recover

public Xid[] recover(int flag)

rollback

public void rollback(Xid xid)

setTransactionTimeout

public boolean setTransactionTimeout(int seconds)

start

public void start(Xid xid, int flags)