jakarta.transaction.Transaction
objects based on specified transactional characteristics.
The default implementation, SimpleTransactionFactory, simply
wraps a standard JTA jakarta..
This strategy interface allows for more sophisticated implementations
that adapt to vendor-specific JTA extensions.
jakarta.transaction.TransactionManager#getTransaction() , SimpleTransactionFactory, JtaTransactionManager
| Modifier and Type | Method and Description |
|---|---|
| public Transaction | Returns: the active Transaction object (nevernull)the transaction name (may be name, int null)the transaction timeout (may be -1 for the default timeout) timeout)Create an active Transaction object based on the given name and timeout. |
| public boolean | supportsResourceAdapterManagedTransactions()
Determine whether the underlying transaction manager supports XA transactions managed by a resource adapter (i.e. without explicit XA resource enlistment). |
| createTransaction | back to summary |
|---|---|
| public Transaction createTransaction(String name, int timeout) throws NotSupportedException, SystemException Create an active Transaction object based on the given name and timeout.
| |
| supportsResourceAdapterManagedTransactions | back to summary |
|---|---|
| public boolean supportsResourceAdapterManagedTransactions() Determine whether the underlying transaction manager supports XA transactions managed by a resource adapter (i.e. without explicit XA resource enlistment). Typically | |