@Configuration @ConditionalOnClass(value={org.springframework.jdbc.core.JdbcTemplate.class,org.springframework.transaction.PlatformTransactionManager.class}) public class DataSourceTransactionManagerAutoConfiguration extends Object implements Ordered
Modifier and Type | Class and Description |
---|---|
protected static class |
DataSourceTransactionManagerAutoConfiguration.TransactionManagementConfiguration |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
DataSourceTransactionManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
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.