@Configuration @ConditionalOnClass(value={org.springframework.transaction.support.TransactionTemplate.class,org.springframework.transaction.PlatformTransactionManager.class}) @ConditionalOnSingleCandidate(value=org.springframework.transaction.PlatformTransactionManager.class) public class TransactionAutoConfiguration extends Object
Auto-configuration
for Spring transaction.Constructor and Description |
---|
TransactionAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
TransactionTemplate |
transactionTemplate() |
@Bean @ConditionalOnMissingBean public TransactionTemplate transactionTemplate()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.