@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(PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
TransactionTemplate |
transactionTemplate() |
public TransactionAutoConfiguration(PlatformTransactionManager transactionManager)
@Bean @ConditionalOnMissingBean public TransactionTemplate transactionTemplate()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.