JTA transaction object, representing a UserTransaction.
Used as transaction object by JtaTransactionManager.
Note: This is an SPI class, not intended to be used by applications.
author: Juergen Hoeller since: 1.1 See Also:JtaTransactionManager See Also: javax.transaction.UserTransaction
Constructor Summary
public
JtaTransactionObject(UserTransaction userTransaction) Create a new JtaTransactionObject for the given JTA UserTransaction.
Method Summary
public UserTransaction
getUserTransaction() Return the JTA UserTransaction object for the current transaction.
public boolean
isRollbackOnly() This implementation checks the UserTransaction's rollback-only flag.
Constructor Detail
JtaTransactionObject
public JtaTransactionObject(UserTransaction userTransaction)(Code)
Create a new JtaTransactionObject for the given JTA UserTransaction.
Parameters: userTransaction - the JTA UserTransaction for the current transaction(either a shared object or retrieved through a fresh per-transaction lookuip)