@ConfigurationProperties(prefix="spring.datasource") public class DataSourceProperties extends Object implements BeanClassLoaderAware, InitializingBean
Constructor and Description |
---|
DataSourceProperties() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ClassLoader |
getClassLoader() |
String |
getData() |
protected String |
getDriverClassName() |
String |
getPassword() |
String |
getPlatform() |
String |
getSchema() |
String |
getSeparator() |
String |
getSqlScriptEncoding() |
String |
getUrl() |
String |
getUsername() |
boolean |
isContinueOnError() |
boolean |
isInitialize() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setContinueOnError(boolean continueOnError) |
void |
setData(String script) |
void |
setDriverClassName(String driverClassName) |
void |
setInitialize(boolean initialize) |
void |
setPassword(String password) |
void |
setPlatform(String platform) |
void |
setSchema(String schema) |
void |
setSeparator(String separator) |
void |
setSqlScriptEncoding(String sqlScriptEncoding) |
void |
setUrl(String url) |
void |
setUsername(String username) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface BeanClassLoaderAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected String getDriverClassName()
public String getUrl()
public String getUsername()
public String getPassword()
public void setDriverClassName(String driverClassName)
public void setUrl(String url)
public void setUsername(String username)
public void setPassword(String password)
public boolean isInitialize()
public void setInitialize(boolean initialize)
public String getPlatform()
public void setPlatform(String platform)
public String getSchema()
public void setSchema(String schema)
public String getData()
public void setData(String script)
public boolean isContinueOnError()
public void setContinueOnError(boolean continueOnError)
public String getSeparator()
public void setSeparator(String separator)
public String getSqlScriptEncoding()
public void setSqlScriptEncoding(String sqlScriptEncoding)
public ClassLoader getClassLoader()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.