public class JdbcDataSourceFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<DataSource> implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
JdbcDataSourceFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected DataSource |
createInstance() |
protected void |
destroyInstance(DataSource dataSource) |
Map<String,Object> |
getConfig() |
Class<?> |
getObjectType() |
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
boolean |
isSingleton() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConfig(Map<String,Object> config) |
void |
setPassword(String password) |
void |
setUrl(String url) |
void |
setUsername(String username) |
protected DataSource createInstance() throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>Exceptionprotected void destroyInstance(DataSource dataSource) throws Exception
destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<DataSource>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>public String getPassword()
public String getUrl()
public String getUsername()
public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<DataSource>isSingleton in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setPassword(String password)
public void setUrl(String url)
public void setUsername(String username)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.