| Package | Description |
|---|---|
| javax.resource.spi | |
| javax.resource.spi.work | |
| javax.transaction.xa |
| Modifier and Type | Method and Description |
|---|---|
Xid[] |
XATerminator.recover(int flag)
Returns the prepared transaction branches.
|
| 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.
|
void |
XATerminator.rollback(Xid xid)
Rolls back a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
Xid |
ExecutionContext.getXid() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionContext.setXid(Xid xid)
Sets the transaction id.
|
| Modifier and Type | Method and Description |
|---|---|
Xid[] |
XAResource.recover(int flag)
Called to find Xid's that need recovery.
|
| 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.prepare(Xid xid)
Called to start the first phase of the commit.
|
void |
XAResource.rollback(Xid xid)
Called to roll back.
|
void |
XAResource.start(Xid xid,
int flags)
Called when the resource is associated with a transaction.
|