@Configuration @ConditionalOnClass(value={org.springframework.transaction.jta.JtaTransactionManager.class,com.arjuna.ats.jta.UserTransaction.class,org.jboss.tm.XAResourceRecoveryRegistry.class}) @ConditionalOnMissingBean(value=org.springframework.transaction.PlatformTransactionManager.class) public class NarayanaJtaConfiguration extends Object
Constructor and Description |
---|
NarayanaJtaConfiguration(JtaProperties jtaProperties) |
Modifier and Type | Method and Description |
---|---|
static NarayanaBeanFactoryPostProcessor |
narayanaBeanFactoryPostProcessor() |
NarayanaConfigurationBean |
narayanaConfiguration(NarayanaProperties properties) |
NarayanaProperties |
narayanaProperties() |
NarayanaRecoveryManagerBean |
narayanaRecoveryManager(com.arjuna.ats.jbossatx.jta.RecoveryManagerService recoveryManagerService) |
com.arjuna.ats.jbossatx.jta.RecoveryManagerService |
narayanaRecoveryManagerService() |
TransactionManager |
narayanaTransactionManager() |
UserTransaction |
narayanaUserTransaction() |
JtaTransactionManager |
transactionManager(UserTransaction userTransaction,
TransactionManager transactionManager) |
XADataSourceWrapper |
xaDataSourceWrapper(NarayanaRecoveryManagerBean narayanaRecoveryManagerBean,
NarayanaProperties narayanaProperties) |
public NarayanaJtaConfiguration(JtaProperties jtaProperties)
@Bean @ConditionalOnMissingBean public NarayanaProperties narayanaProperties()
@Bean @ConditionalOnMissingBean public NarayanaConfigurationBean narayanaConfiguration(NarayanaProperties properties)
@Bean @DependsOn(value="narayanaConfiguration") @ConditionalOnMissingBean public UserTransaction narayanaUserTransaction()
@Bean @DependsOn(value="narayanaConfiguration") @ConditionalOnMissingBean public TransactionManager narayanaTransactionManager()
@Bean @DependsOn(value="narayanaConfiguration") public com.arjuna.ats.jbossatx.jta.RecoveryManagerService narayanaRecoveryManagerService()
@Bean public NarayanaRecoveryManagerBean narayanaRecoveryManager(com.arjuna.ats.jbossatx.jta.RecoveryManagerService recoveryManagerService)
@Bean public JtaTransactionManager transactionManager(UserTransaction userTransaction, TransactionManager transactionManager)
@Bean @ConditionalOnMissingBean(value=XADataSourceWrapper.class) public XADataSourceWrapper xaDataSourceWrapper(NarayanaRecoveryManagerBean narayanaRecoveryManagerBean, NarayanaProperties narayanaProperties)
@Bean @ConditionalOnMissingBean public static NarayanaBeanFactoryPostProcessor narayanaBeanFactoryPostProcessor()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.