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