Class DataSourceFactoryBean
Object
org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<DataSource>
,org.springframework.beans.factory.InitializingBean
public class DataSourceFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroyInstance
(DataSource dataSource) void
setDataSource
(DataSource dataSource) void
setProperties
(Properties properties) void
setPropertyPrefix
(String propertyPrefix) void
setPropertyPrefixLookup
(String propertyPrefixLookup) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
DataSourceFactoryBean
public DataSourceFactoryBean()
-
-
Method Details
-
createInstance
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
- Throws:
Exception
-
destroyInstance
- Overrides:
destroyInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<DataSource>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
-
setDataSource
-
setProperties
-
setPropertyPrefix
-
setPropertyPrefixLookup
-