javax.transaction.xa
Interface XAResource
- public interface XAResource
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 03:56:06 -0600 (Tue, 14 Sep 2004) $
TMENDRSCAN
public static final int TMENDRSCAN
- See Also:
- Constant Field Values
TMFAIL
public static final int TMFAIL
- See Also:
- Constant Field Values
TMJOIN
public static final int TMJOIN
- See Also:
- Constant Field Values
TMNOFLAGS
public static final int TMNOFLAGS
- See Also:
- Constant Field Values
TMONEPHASE
public static final int TMONEPHASE
- See Also:
- Constant Field Values
TMRESUME
public static final int TMRESUME
- See Also:
- Constant Field Values
TMSTARTRSCAN
public static final int TMSTARTRSCAN
- See Also:
- Constant Field Values
TMSUCCESS
public static final int TMSUCCESS
- See Also:
- Constant Field Values
TMSUSPEND
public static final int TMSUSPEND
- See Also:
- Constant Field Values
XA_RDONLY
public static final int XA_RDONLY
- See Also:
- Constant Field Values
XA_OK
public static final int XA_OK
- See Also:
- Constant Field Values
commit
public void commit(Xid xid,
boolean onePhase)
throws XAException
- Throws:
XAException
end
public void end(Xid xid,
int flags)
throws XAException
- Throws:
XAException
forget
public void forget(Xid xid)
throws XAException
- Throws:
XAException
getTransactionTimeout
public int getTransactionTimeout()
throws XAException
- Throws:
XAException
isSameRM
public boolean isSameRM(XAResource xaResource)
throws XAException
- Throws:
XAException
prepare
public int prepare(Xid xid)
throws XAException
- Throws:
XAException
recover
public Xid[] recover(int flag)
throws XAException
- Throws:
XAException
rollback
public void rollback(Xid xid)
throws XAException
- Throws:
XAException
setTransactionTimeout
public boolean setTransactionTimeout(int seconds)
throws XAException
- Throws:
XAException
start
public void start(Xid xid,
int flags)
throws XAException
- Throws:
XAException