test.jdbc.datasource
Class InitializingDataSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
test.jdbc.datasource.InitializingDataSourceFactoryBean
- All Implemented Interfaces:
- BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean
public class InitializingDataSourceFactoryBean
- extends AbstractFactoryBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitializingDataSourceFactoryBean
public InitializingDataSourceFactoryBean()
destroy
public void destroy()
throws Exception
- Specified by:
destroy in interface DisposableBean- Overrides:
destroy in class AbstractFactoryBean
- Throws:
Exception
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean- Overrides:
afterPropertiesSet in class AbstractFactoryBean
- Throws:
Exception
createInstance
protected Object createInstance()
throws Exception
- Specified by:
createInstance in class AbstractFactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType in interface FactoryBean- Specified by:
getObjectType in class AbstractFactoryBean
setInitScript
public void setInitScript(Resource initScript)
setDestroyScript
public void setDestroyScript(Resource destroyScript)
setDataSource
public void setDataSource(DataSource dataSource)
Copyright © 2008 SpringSource. All Rights Reserved.