@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(org.springframework.beans.factory.ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers) |
@Bean @ConditionalOnMissingBean public TransactionManagerCustomizers platformTransactionManagerCustomizers(org.springframework.beans.factory.ObjectProvider<PlatformTransactionManagerCustomizer<?>> customizers)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.