@Configuration @ConditionalOnSingleCandidate(value=org.springframework.transaction.PlatformTransactionManager.class) public static class TransactionAutoConfiguration.TransactionTemplateConfiguration extends Object
Constructor and Description |
---|
TransactionTemplateConfiguration(org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
org.springframework.transaction.support.TransactionTemplate |
transactionTemplate() |
public TransactionTemplateConfiguration(org.springframework.transaction.PlatformTransactionManager transactionManager)
@Bean @ConditionalOnMissingBean(value=org.springframework.transaction.support.TransactionOperations.class) public org.springframework.transaction.support.TransactionTemplate transactionTemplate()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.