com.liferay.portal.kernel.dao.jdbc
Class DataSourceFactoryUtil
java.lang.Object
com.liferay.portal.kernel.dao.jdbc.DataSourceFactoryUtil
public class DataSourceFactoryUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceFactoryUtil
public DataSourceFactoryUtil()
destroyDataSource
public static void destroyDataSource(DataSource dataSource)
throws Exception
- Throws:
Exception
getDataSourceFactory
public static DataSourceFactory getDataSourceFactory()
initDataSource
public static DataSource initDataSource(Properties properties)
throws Exception
- Throws:
Exception
initDataSource
public static DataSource initDataSource(String driverClassName,
String url,
String userName,
String password)
throws Exception
- Throws:
Exception
setDataSourceFactory
public static void setDataSourceFactory(DataSourceFactory dataSourceFactory)