@Configuration @ConditionalOnClass(value={javax.sql.DataSource.class,}) @EnableConfigurationProperties(value=DataSourceProperties.class) public class JndiDataSourceAutoConfiguration extends Object
Auto-configuration
for a JNDI located
DataSource
.Constructor and Description |
---|
JndiDataSourceAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSource |
dataSource(DataSourceProperties properties) |
@Bean(destroyMethod="") @ConditionalOnMissingBean public DataSource dataSource(DataSourceProperties properties)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.