@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.transaction.PlatformTransactionManager.class) @AutoConfigureAfter(value={JtaAutoConfiguration.class,HibernateJpaAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.class,Neo4jDataAutoConfiguration.class}) @EnableConfigurationProperties(value=TransactionProperties.class) public class TransactionAutoConfiguration extends Object
Auto-configuration
for Spring transaction.Modifier and Type | Class and Description |
---|---|
static class |
TransactionAutoConfiguration.EnableTransactionManagementConfiguration |
static class |
TransactionAutoConfiguration.TransactionTemplateConfiguration |
Constructor and Description |
---|
TransactionAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
TransactionManagerCustomizers |
platformTransactionManagerCustomizers(ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers) |
TransactionalOperator |
transactionalOperator(ReactiveTransactionManager transactionManager) |
@Bean @ConditionalOnMissingBean public TransactionManagerCustomizers platformTransactionManagerCustomizers(ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers)
@Bean @ConditionalOnMissingBean @ConditionalOnSingleCandidate(value=org.springframework.transaction.ReactiveTransactionManager.class) public TransactionalOperator transactionalOperator(ReactiveTransactionManager transactionManager)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.