@Configuration @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<List<PlatformTransactionManagerCustomizer<?>>> customizers) |
@Bean @ConditionalOnMissingBean public TransactionManagerCustomizers platformTransactionManagerCustomizers(ObjectProvider<List<PlatformTransactionManagerCustomizer<?>>> customizers)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.