|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XATerminator
Facilities made available by the application server to the resource.
| Method Summary | |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
Commits a transaction. |
void |
forget(Xid xid)
Forgets a heuristic transaction. |
int |
prepare(Xid xid)
Prepares a transaction. |
Xid[] |
recover(int flag)
Returns the prepared transaction branches. |
void |
rollback(Xid xid)
Rolls back a transaction. |
| Method Detail |
|---|
int prepare(Xid xid)
throws XAException
XAException
void commit(Xid xid,
boolean onePhase)
throws XAException
XAException
void rollback(Xid xid)
throws XAException
XAException
void forget(Xid xid)
throws XAException
XAException
Xid[] recover(int flag)
throws XAException
XAException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||