@ConfigurationProperties(name="spring.datasource") @EnableConfigurationProperties public abstract class AbstractDataSourceConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware
Constructor and Description |
---|
AbstractDataSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDriverClassName() |
protected int |
getMaxActive() |
protected int |
getMaxIdle() |
protected int |
getMinIdle() |
protected String |
getPassword() |
protected String |
getUrl() |
protected String |
getUsername() |
protected String |
getValidationQuery() |
protected boolean |
isTestOnBorrow() |
protected boolean |
isTestOnReturn() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setDriverClassName(String driverClassName) |
void |
setMaxActive(int maxActive) |
void |
setMaxIdle(int maxIdle) |
void |
setMinIdle(int minIdle) |
void |
setPassword(String password) |
void |
setTestOnBorrow(boolean testOnBorrow) |
void |
setTestOnReturn(boolean testOnReturn) |
void |
setUrl(String url) |
void |
setUsername(String username) |
void |
setValidationQuery(String validationQuery) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected String getDriverClassName()
protected String getUrl()
public void setDriverClassName(String driverClassName)
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)
protected String getUsername()
protected String getPassword()
protected int getMaxActive()
protected int getMaxIdle()
protected int getMinIdle()
protected String getValidationQuery()
protected boolean isTestOnBorrow()
protected boolean isTestOnReturn()
Copyright © 2013. All rights reserved.