Adapter for a JTA UserTransaction handle, taking a JTA {@link javax.transaction.TransactionManager} reference and creatinga JTA {@link javax.transaction.UserTransaction} handle for it.
The JTA UserTransaction interface is an exact subset of the JTA TransactionManager interface. Unfortunately, it does not serve as super-interface of TransactionManager, though, which requires an adapter such as this class to be used when intending to talk to a TransactionManager handle through the UserTransaction interface.
Used internally by Spring's {@link JtaTransactionManager} for certainscenarios. Not intended for direct use in application code.
@author Juergen Hoeller
@since 1.1.5