com.liferay.portal.dao.jdbc
Class DataSourceFactoryImpl
java.lang.Object
com.liferay.portal.dao.jdbc.DataSourceFactoryImpl
- All Implemented Interfaces:
- DataSourceFactory
public class DataSourceFactoryImpl
- extends Object
- implements DataSourceFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceFactoryImpl
public DataSourceFactoryImpl()
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,
String jndiName)
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
initDataSourceHikariCP
protected DataSource initDataSourceHikariCP(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)
isPropertyHikariCP
protected boolean isPropertyHikariCP(String key)
isPropertyLiferay
protected boolean isPropertyLiferay(String key)
isPropertyTomcat
protected boolean isPropertyTomcat(String key)
testDatabaseClass
protected void testDatabaseClass(Properties properties)
throws Exception
- Throws:
Exception
testLiferayPoolProviderClass
protected void testLiferayPoolProviderClass(String className)
throws Exception
- Throws:
Exception