@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() |
PlatformTransactionManager |
transactionManager() |
public DataSourceTransactionManagerAutoConfiguration()
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=javax.sql.DataSource.class) public PlatformTransactionManager transactionManager()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.