public class WebSphereLibertyJtaPlatform extends AbstractJtaPlatform
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TMF_CLASS_NAME |
static java.lang.String |
UT_NAME |
| Constructor and Description |
|---|
WebSphereLibertyJtaPlatform() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRegisterSynchronization()
Can we currently register a
Synchronization? |
int |
getCurrentStatus()
Obtain the current transaction status using whatever means is preferred for this platform
|
java.lang.Object |
getTransactionIdentifier(javax.transaction.Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
|
protected javax.transaction.TransactionManager |
locateTransactionManager() |
protected javax.transaction.UserTransaction |
locateUserTransaction() |
void |
registerSynchronization(javax.transaction.Synchronization synchronization)
Register a JTA
Synchronization in the means defined by the platform. |
canCacheTransactionManager, canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, configure, getSynchronizationStrategy, getTransactionManager, injectServices, jndiService, retrieveTransactionManager, retrieveUserTransaction, serviceRegistrypublic static final java.lang.String TMF_CLASS_NAME
public static final java.lang.String UT_NAME
protected javax.transaction.TransactionManager locateTransactionManager()
locateTransactionManager in class AbstractJtaPlatformprotected javax.transaction.UserTransaction locateUserTransaction()
locateUserTransaction in class AbstractJtaPlatformpublic boolean canRegisterSynchronization()
JtaPlatformSynchronization?canRegisterSynchronization in interface JtaPlatformcanRegisterSynchronization in class AbstractJtaPlatformSynchronization is currently allowed; false otherwise.public int getCurrentStatus()
throws javax.transaction.SystemException
JtaPlatformgetCurrentStatus in interface JtaPlatformgetCurrentStatus in class AbstractJtaPlatformjavax.transaction.SystemException - Indicates a problem access the underlying statuspublic java.lang.Object getTransactionIdentifier(javax.transaction.Transaction transaction)
JtaPlatformgetTransactionIdentifier in interface JtaPlatformgetTransactionIdentifier in class AbstractJtaPlatformtransaction - The transaction to be identified.public void registerSynchronization(javax.transaction.Synchronization synchronization)
JtaPlatformSynchronization in the means defined by the platform.registerSynchronization in interface JtaPlatformregisterSynchronization in class AbstractJtaPlatformsynchronization - The synchronization to registerCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.