public class WebSphereLibertyJtaPlatform extends AbstractJtaPlatform
| Modifier and Type | Field and Description |
|---|---|
static String |
TMF_CLASS_NAME |
static 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
|
Object |
getTransactionIdentifier(Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
|
protected TransactionManager |
locateTransactionManager() |
protected UserTransaction |
locateUserTransaction() |
void |
registerSynchronization(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 String TMF_CLASS_NAME
public static final String UT_NAME
protected TransactionManager locateTransactionManager()
locateTransactionManager in class AbstractJtaPlatformprotected 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 SystemException
JtaPlatformgetCurrentStatus in interface JtaPlatformgetCurrentStatus in class AbstractJtaPlatformSystemException - Indicates a problem access the underlying statuspublic Object getTransactionIdentifier(Transaction transaction)
JtaPlatformgetTransactionIdentifier in interface JtaPlatformgetTransactionIdentifier in class AbstractJtaPlatformtransaction - The transaction to be identified.public void registerSynchronization(Synchronization synchronization)
JtaPlatformSynchronization in the means defined by the platform.registerSynchronization in interface JtaPlatformregisterSynchronization in class AbstractJtaPlatformsynchronization - The synchronization to registerCopyright © 2019 JBoss by Red Hat. All rights reserved.