JTA transaction object, representing a
javax.transaction.UserTransaction .
Used as transaction object by Spring's
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
final 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)
Method Detail
getUserTransaction
final public UserTransaction getUserTransaction()(Code)
Return the JTA UserTransaction object for the current transaction.