@ConfigurationProperties(prefix="spring.datasource") @EnableConfigurationProperties public abstract class AbstractDataSourceConfiguration extends Object implements BeanClassLoaderAware, InitializingBean
Constructor and Description |
---|
AbstractDataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected String |
getDriverClassName() |
int |
getInitialSize() |
protected int |
getMaxActive() |
protected int |
getMaxIdle() |
protected Integer |
getMaxWaitMillis() |
protected Integer |
getMinEvictableIdleTimeMillis() |
protected int |
getMinIdle() |
protected String |
getPassword() |
protected Integer |
getTimeBetweenEvictionRunsMillis() |
protected String |
getUrl() |
protected String |
getUsername() |
protected String |
getValidationQuery() |
protected boolean |
isTestOnBorrow() |
protected boolean |
isTestOnReturn() |
protected boolean |
isTestWhileIdle() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setDriverClassName(String driverClassName) |
void |
setInitialSize(int initialSize) |
void |
setMaxActive(int maxActive) |
void |
setMaxIdle(int maxIdle) |
void |
setMaxWait(int maxWaitMillis) |
void |
setMinEvictableIdleTimeMillis(int minEvictableIdleTimeMillis) |
void |
setMinIdle(int minIdle) |
void |
setPassword(String password) |
void |
setTestOnBorrow(boolean testOnBorrow) |
void |
setTestOnReturn(boolean testOnReturn) |
void |
setTestWhileIdle(boolean testWhileIdle) |
void |
setTimeBetweenEvictionRunsMillis(int timeBetweenEvictionRunsMillis) |
void |
setUrl(String url) |
void |
setUsername(String username) |
void |
setValidationQuery(String validationQuery) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface BeanClassLoaderAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected String getDriverClassName()
protected String getUrl()
protected String getUsername()
protected String getPassword()
public void setDriverClassName(String driverClassName)
public void setInitialSize(int initialSize)
public void setUrl(String url)
public void setUsername(String username)
public void setPassword(String password)
public void setMaxActive(int maxActive)
public void setMaxIdle(int maxIdle)
public void setMinIdle(int minIdle)
public void setValidationQuery(String validationQuery)
public void setTestOnBorrow(boolean testOnBorrow)
public void setTestOnReturn(boolean testOnReturn)
public void setTestWhileIdle(boolean testWhileIdle)
public void setTimeBetweenEvictionRunsMillis(int timeBetweenEvictionRunsMillis)
public void setMinEvictableIdleTimeMillis(int minEvictableIdleTimeMillis)
public void setMaxWait(int maxWaitMillis)
public int getInitialSize()
protected int getMaxActive()
protected int getMaxIdle()
protected int getMinIdle()
protected String getValidationQuery()
protected boolean isTestOnBorrow()
protected boolean isTestOnReturn()
protected boolean isTestWhileIdle()
protected Integer getTimeBetweenEvictionRunsMillis()
protected Integer getMinEvictableIdleTimeMillis()
protected Integer getMaxWaitMillis()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.