Package | Description |
---|---|
javax.transaction |
Modifier and Type | Method and Description |
---|---|
void |
UserTransaction.begin()
Starts a new transaction, and associate it with the calling thread.
|
void |
TransactionManager.begin()
Starts a new transaction, and associate it with the calling thread.
|
void |
Transaction.commit()
Attempt to commit this transaction.
|
void |
UserTransaction.commit()
Commit the transaction associated with the calling thread.
|
void |
TransactionManager.commit()
Commit the transaction associated with the calling thread.
|
boolean |
Transaction.delistResource(XAResource xaRes,
int flag)
Delist an XA resource from this transaction.
|
boolean |
Transaction.enlistResource(XAResource xaRes)
Enlist an XA resource with this transaction.
|
int |
Transaction.getStatus()
Get the status of the transaction.
|
int |
UserTransaction.getStatus()
Get the status of the transaction associated with the calling thread.
|
int |
TransactionManager.getStatus()
Get the status of the transaction associated with the calling thread.
|
Transaction |
TransactionManager.getTransaction()
Get the transaction associated with the calling thread.
|
void |
Transaction.registerSynchronization(Synchronization sync)
Register a
Synchronization callback with this transaction. |
void |
TransactionManager.resume(Transaction tobj)
Resume the association of the calling thread with the given
transaction.
|
void |
Transaction.rollback()
Rolls back this transaction.
|
void |
UserTransaction.rollback()
Rolls back the transaction associated with the calling thread.
|
void |
TransactionManager.rollback()
Rolls back the transaction associated with the calling thread.
|
void |
Transaction.setRollbackOnly()
Mark the transaction so that the only possible outcome is a rollback.
|
void |
UserTransaction.setRollbackOnly()
Mark the transaction associated with the calling thread for rollback
only.
|
void |
TransactionManager.setRollbackOnly()
Mark the transaction associated with the calling thread for rollback
only.
|
void |
UserTransaction.setTransactionTimeout(int seconds)
Change the transaction timeout for transactions started by the calling
thread with the
UserTransaction.begin() method. |
void |
TransactionManager.setTransactionTimeout(int seconds)
Change the transaction timeout for transactions started by the calling
thread with the
TransactionManager.begin() method. |
Transaction |
TransactionManager.suspend()
Suspend the association the calling thread has to a transaction,
and return the suspended transaction.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.