Liferay 6.2-ce-ga5

com.liferay.portal.dao.jdbc.spring
Class DataSourceFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
      extended by com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean
All Implemented Interfaces:
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
Direct Known Subclasses:
DataSourceFactoryBean

public class DataSourceFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
DataSourceFactoryBean()
           
 
Method Summary
 DataSource createInstance()
           
 void destroyInstance(DataSource dataSource)
           
 Class<DataSource> getObjectType()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceFactoryBean

public DataSourceFactoryBean()
Method Detail

createInstance

public DataSource createInstance()
                          throws Exception
Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
Throws:
Exception

destroyInstance

public void destroyInstance(DataSource dataSource)
                     throws Exception
Overrides:
destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>
Throws:
Exception

getObjectType

public Class<DataSource> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<DataSource>
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<DataSource>

setProperties

public void setProperties(Properties properties)

setPropertyPrefix

public void setPropertyPrefix(String propertyPrefix)

setPropertyPrefixLookup

public void setPropertyPrefixLookup(String propertyPrefixLookup)

Liferay 6.2-ce-ga5