TransactionManager,
UserTransaction and TransactionSynchronizationRegistry references.
| Modifier and Type | Field and Description |
|---|---|
| private final TransactionManager | |
| private final TransactionSynchronizationRegistry | |
| private final UserTransaction |
| Access | Constructor and Description |
|---|---|
| public | ConfigurableJtaPlatform(TransactionManager
the JTA TransactionManager reference (required) tm, UserTransaction the JTA UserTransaction reference (optional) ut, TransactionSynchronizationRegistry the JTA 1.1 TransactionSynchronizationRegistry (optional) tsr)Create a new ConfigurableJtaPlatform instance with the given JTA TransactionManager and optionally a given UserTransaction. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canRegisterSynchronization()
Implements org. Synchronization?
|
| public int | getCurrentStatus()
Implements org. |
| public Object | |
| public void | |
| public TransactionManager | |
| public UserTransaction |
| transactionManager | back to summary |
|---|---|
| private final TransactionManager transactionManager | |
| transactionSynchronizationRegistry | back to summary |
|---|---|
| private final TransactionSynchronizationRegistry transactionSynchronizationRegistry
| |
| userTransaction | back to summary |
|---|---|
| private final UserTransaction userTransaction | |
| ConfigurableJtaPlatform | back to summary |
|---|---|
| public ConfigurableJtaPlatform(TransactionManager tm, UserTransaction ut, TransactionSynchronizationRegistry tsr) Create a new ConfigurableJtaPlatform instance with the given JTA TransactionManager and optionally a given UserTransaction.
| |
| canRegisterSynchronization | back to summary |
|---|---|
| public boolean canRegisterSynchronization() Implements org. Doc from org. Can we currently register a
| |
| getCurrentStatus | back to summary |
|---|---|
| public int getCurrentStatus() throws SystemException Implements org. Doc from org. Obtain the current transaction status using whatever means is preferred for this platform
| |
| getTransactionIdentifier | back to summary |
|---|---|
public Object getTransactionIdentifier(Transaction transaction)
| |
| registerSynchronization | back to summary |
|---|---|
public void registerSynchronization(Synchronization synchronization)
| |
| retrieveTransactionManager | back to summary |
|---|---|
| public TransactionManager retrieveTransactionManager() Implements org. Doc from org. Locate the
| |
| retrieveUserTransaction | back to summary |
|---|---|
| public UserTransaction retrieveUserTransaction() Implements org. Doc from org. Locate the
| |