Liferay 6.1.10-ee-ga1

com.liferay.portal.dao.jdbc
Class DataSourceFactoryImpl

java.lang.Object
  extended by com.liferay.portal.dao.jdbc.DataSourceFactoryImpl
All Implemented Interfaces:
DataSourceFactory

public class DataSourceFactoryImpl
extends Object
implements DataSourceFactory


Constructor Summary
DataSourceFactoryImpl()
           
 
Method Summary
 void destroyDataSource(DataSource dataSource)
           
 DataSource initDataSource(Properties properties)
           
 DataSource initDataSource(String driverClassName, String url, String userName, String password)
           
protected  DataSource initDataSourceC3PO(Properties properties)
           
protected  DataSource initDataSourceDBCP(Properties properties)
           
protected  DataSource initDataSourcePrimrose(Properties properties)
           
protected  DataSource initDataSourceTomcat(Properties properties)
           
protected  boolean isPropertyC3PO(String key)
           
protected  boolean isPropertyDBCP(String key)
           
protected  boolean isPropertyLiferay(String key)
           
protected  boolean isPropertyPrimrose(String key)
           
protected  boolean isPropertyTomcat(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceFactoryImpl

public DataSourceFactoryImpl()
Method Detail

destroyDataSource

public void destroyDataSource(DataSource dataSource)
                       throws Exception
Specified by:
destroyDataSource in interface DataSourceFactory
Throws:
Exception

initDataSource

public DataSource initDataSource(Properties properties)
                          throws Exception
Specified by:
initDataSource in interface DataSourceFactory
Throws:
Exception

initDataSource

public DataSource initDataSource(String driverClassName,
                                 String url,
                                 String userName,
                                 String password)
                          throws Exception
Specified by:
initDataSource in interface DataSourceFactory
Throws:
Exception

initDataSourceC3PO

protected DataSource initDataSourceC3PO(Properties properties)
                                 throws Exception
Throws:
Exception

initDataSourceDBCP

protected DataSource initDataSourceDBCP(Properties properties)
                                 throws Exception
Throws:
Exception

initDataSourcePrimrose

protected DataSource initDataSourcePrimrose(Properties properties)
                                     throws Exception
Throws:
Exception

initDataSourceTomcat

protected DataSource initDataSourceTomcat(Properties properties)
                                   throws Exception
Throws:
Exception

isPropertyC3PO

protected boolean isPropertyC3PO(String key)

isPropertyDBCP

protected boolean isPropertyDBCP(String key)

isPropertyLiferay

protected boolean isPropertyLiferay(String key)

isPropertyPrimrose

protected boolean isPropertyPrimrose(String key)

isPropertyTomcat

protected boolean isPropertyTomcat(String key)

Liferay 6.1.10-ee-ga1