@Configuration @ConditionalOnClass(value={org.springframework.jdbc.core.JdbcTemplate.class,org.springframework.transaction.PlatformTransactionManager.class}) public class DataSourceTransactionManagerAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DataSourceTransactionManagerAutoConfiguration.TransactionManagementConfiguration |
Constructor and Description |
---|
DataSourceTransactionManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSourceTransactionManager |
transactionManager() |
public DataSourceTransactionManagerAutoConfiguration()
@Bean @ConditionalOnMissingBean(value=org.springframework.transaction.PlatformTransactionManager.class) @ConditionalOnBean(value=javax.sql.DataSource.class) public DataSourceTransactionManager transactionManager()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.