Class TransactionAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.springframework.transaction.PlatformTransactionManager.class)
@EnableConfigurationProperties(TransactionProperties.class)
public class TransactionAutoConfiguration
extends Object
Auto-configuration
for Spring transaction.- Since:
- 1.3.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionplatformTransactionManagerCustomizers
(ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers) transactionalOperator
(ReactiveTransactionManager transactionManager)
-
Constructor Details
-
TransactionAutoConfiguration
public TransactionAutoConfiguration()
-
-
Method Details
-
platformTransactionManagerCustomizers
@Bean @ConditionalOnMissingBean public TransactionManagerCustomizers platformTransactionManagerCustomizers(ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers) -
transactionalOperator
@Bean @ConditionalOnMissingBean @ConditionalOnSingleCandidate(org.springframework.transaction.ReactiveTransactionManager.class) public TransactionalOperator transactionalOperator(ReactiveTransactionManager transactionManager)
-