@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(org.springframework.beans.factory.ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers) |
org.springframework.transaction.reactive.TransactionalOperator |
transactionalOperator(org.springframework.transaction.ReactiveTransactionManager transactionManager) |
@Bean @ConditionalOnMissingBean public TransactionManagerCustomizers platformTransactionManagerCustomizers(org.springframework.beans.factory.ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers)
@Bean @ConditionalOnMissingBean @ConditionalOnSingleCandidate(value=org.springframework.transaction.ReactiveTransactionManager.class) public org.springframework.transaction.reactive.TransactionalOperator transactionalOperator(org.springframework.transaction.ReactiveTransactionManager transactionManager)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.