@ConfigurationProperties(name="spring.datasource") @EnableConfigurationProperties public abstract class AbstractDataSourceConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.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 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 |
setInitialSize(int initialSize) |
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
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.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 int getInitialSize()
protected int getMaxActive()
protected int getMaxIdle()
protected int getMinIdle()
protected String getValidationQuery()
protected boolean isTestOnBorrow()
protected boolean isTestOnReturn()
Copyright © 2014. All rights reserved.