| java.lang.Object | |
| ↳ | org.springframework.transaction.jta.SimpleTransactionFactory |
Default implementation of the TransactionFactory strategy interface,
simply wrapping a standard JTA javax.transaction.TransactionManager.
Does not support transaction names; simply ignores any specified name.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new SimpleTransactionFactory for the given TransactionManager
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create an active Transaction object based on the given name and timeout.
| |||||||||||
Determine whether the underlying transaction manager supports XA transactions
managed by a resource adapter (i.e.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.transaction.jta.TransactionFactory
| |||||||||||
Create a new SimpleTransactionFactory for the given TransactionManager
| transactionManager | the JTA TransactionManager to wrap |
|---|
Create an active Transaction object based on the given name and timeout.
| name | the transaction name (may be null) |
|---|---|
| timeout | the transaction timeout (may be -1 for the default timeout) |
null)| NotSupportedException | |
|---|---|
| SystemException |
Determine whether the underlying transaction manager supports XA transactions managed by a resource adapter (i.e. without explicit XA resource enlistment).
Typically false. Checked by
AbstractMessageEndpointFactory
in order to differentiate between invalid configuration and valid
ResourceAdapter-managed transactions.