test.jdbc.datasource
Class InitializingDataSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
test.jdbc.datasource.InitializingDataSourceFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean
public class InitializingDataSourceFactoryBean
- extends AbstractFactoryBean
InitializingDataSourceFactoryBean
public InitializingDataSourceFactoryBean()
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
- See Also:
Object.finalize()
destroyInstance
protected void destroyInstance(Object instance)
throws Exception
- Overrides:
destroyInstance
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
setInitScripts
public void setInitScripts(Resource[] initScripts)
setDestroyScript
public void setDestroyScript(Resource destroyScript)
setDataSource
public void setDataSource(DataSource dataSource)
Copyright © 2009 SpringSource. All Rights Reserved.