| Package | Description |
|---|---|
| javax.resource.spi | |
| javax.transaction.xa |
| Modifier and Type | Method and Description |
|---|---|
void |
XATerminator.commit(Xid xid,
boolean onePhase)
Commits a transaction.
|
void |
XATerminator.forget(Xid xid)
Forgets a heuristic transaction.
|
int |
XATerminator.prepare(Xid xid)
Prepares a transaction.
|
Xid[] |
XATerminator.recover(int flag)
Returns the prepared transaction branches.
|
void |
XATerminator.rollback(Xid xid)
Rolls back a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XAResource.commit(Xid xid,
boolean onePhase)
Called to commit.
|
void |
XAResource.end(Xid xid,
int flags)
Called when the resource is is done with a transaction.
|
void |
XAResource.forget(Xid xid)
Called to forget an Xid that had a heuristic commit.
|
int |
XAResource.getTransactionTimeout()
Gets the transaction timeout in seconds.
|
boolean |
XAResource.isSameRM(XAResource xa)
Returns true if the specified resource has the same RM.
|
int |
XAResource.prepare(Xid xid)
Called to start the first phase of the commit.
|
Xid[] |
XAResource.recover(int flag)
Called to find Xid's that need recovery.
|
void |
XAResource.rollback(Xid xid)
Called to roll back.
|
boolean |
XAResource.setTransactionTimeout(int timeout)
Sets the transaction timeout in seconds.
|
void |
XAResource.start(Xid xid,
int flags)
Called when the resource is associated with a transaction.
|