@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) @EnableConfigurationProperties(value=JtaProperties.class) public class NarayanaJtaConfiguration extends Object
Constructor and Description |
---|
NarayanaJtaConfiguration(JtaProperties jtaProperties,
org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) |
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() |
org.springframework.transaction.jta.JtaTransactionManager |
transactionManager(UserTransaction userTransaction,
TransactionManager transactionManager) |
XADataSourceWrapper |
xaDataSourceWrapper(NarayanaRecoveryManagerBean narayanaRecoveryManagerBean,
NarayanaProperties narayanaProperties) |
public NarayanaJtaConfiguration(JtaProperties jtaProperties, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
@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 @ConditionalOnMissingBean public NarayanaRecoveryManagerBean narayanaRecoveryManager(com.arjuna.ats.jbossatx.jta.RecoveryManagerService recoveryManagerService)
@Bean public org.springframework.transaction.jta.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.