@Configuration
@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.transaction.jta.JtaProperties.class,me.snowdrop.boot.narayana.core.properties.NarayanaProperties.class})
@ConditionalOnProperty(prefix="spring.jta",
value="enabled",
matchIfMissing=true)
@ConditionalOnClass(value={javax.transaction.Transaction.class,org.springframework.transaction.jta.JtaTransactionManager.class,org.jboss.tm.XAResourceRecoveryRegistry.class,com.arjuna.ats.jta.UserTransaction.class})
@ConditionalOnMissingBean(value=org.springframework.transaction.PlatformTransactionManager.class)
public class SpringBoot1NarayanaConfiguration
extends AbstractNarayanaConfiguration
| Constructor and Description |
|---|
SpringBoot1NarayanaConfiguration(org.springframework.boot.autoconfigure.transaction.jta.JtaProperties jtaProperties,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers) |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getLogDir() |
static NarayanaBeanFactoryPostProcessor |
narayanaBeanFactoryPostProcessor() |
org.springframework.boot.jta.XADataSourceWrapper |
xaDataSourceWrapper(NarayanaProperties narayanaProperties,
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule xaRecoveryModule) |
narayanaPropertiesInitializer, narayanaTransactionManager, narayanaUserTransaction, recoveryManagerService, transactionManager, xaRecoveryModulepublic SpringBoot1NarayanaConfiguration(org.springframework.boot.autoconfigure.transaction.jta.JtaProperties jtaProperties,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers)
@Bean @ConditionalOnMissingBean public static NarayanaBeanFactoryPostProcessor narayanaBeanFactoryPostProcessor()
@Bean @ConditionalOnMissingBean(value=org.springframework.boot.jta.XADataSourceWrapper.class) public org.springframework.boot.jta.XADataSourceWrapper xaDataSourceWrapper(NarayanaProperties narayanaProperties, com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule xaRecoveryModule)
protected File getLogDir()
getLogDir in class AbstractNarayanaConfigurationCopyright © 2018. All rights reserved.