public class TestingJtaPlatformImpl extends AbstractJtaPlatform
Modifier and Type | Field and Description |
---|---|
static TestingJtaPlatformImpl |
INSTANCE |
Constructor and Description |
---|
TestingJtaPlatformImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCacheTransactionManager() |
protected boolean |
canCacheUserTransaction() |
protected JtaSynchronizationStrategy |
getSynchronizationStrategy() |
protected TransactionManager |
locateTransactionManager() |
protected UserTransaction |
locateUserTransaction() |
static TransactionSynchronizationRegistry |
synchronizationRegistry() |
static TransactionManager |
transactionManager() |
static void |
tryCommit()
Used by envers...
|
static UserTransaction |
userTransaction() |
canCacheTransactionManagerByDefault, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
public static final TestingJtaPlatformImpl INSTANCE
public static TransactionManager transactionManager()
public static UserTransaction userTransaction()
public static TransactionSynchronizationRegistry synchronizationRegistry()
protected TransactionManager locateTransactionManager()
locateTransactionManager
in class AbstractJtaPlatform
protected boolean canCacheTransactionManager()
canCacheTransactionManager
in class AbstractJtaPlatform
protected UserTransaction locateUserTransaction()
locateUserTransaction
in class AbstractJtaPlatform
protected boolean canCacheUserTransaction()
canCacheUserTransaction
in class AbstractJtaPlatform
protected JtaSynchronizationStrategy getSynchronizationStrategy()
getSynchronizationStrategy
in class AbstractJtaPlatform
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.