Liferay 7.0-ce-m3

com.liferay.portal.test.jdbc
Class ResetDatabaseUtilDataSource

java.lang.Object
  extended by com.liferay.portal.dao.jdbc.util.DataSourceWrapper
      extended by com.liferay.portal.test.jdbc.ResetDatabaseUtilDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class ResetDatabaseUtilDataSource
extends com.liferay.portal.dao.jdbc.util.DataSourceWrapper


Constructor Summary
ResetDatabaseUtilDataSource(DataSource dataSource)
           
 
Method Summary
 Connection getConnection()
           
static void initialize()
           
 
Methods inherited from class com.liferay.portal.dao.jdbc.util.DataSourceWrapper
getConnection, getLoginTimeout, getLogWriter, getParentLogger, getWrappedDataSource, isWrapperFor, setLoginTimeout, setLogWriter, setWrappedDataSource, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResetDatabaseUtilDataSource

public ResetDatabaseUtilDataSource(DataSource dataSource)
Method Detail

initialize

public static void initialize()

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface DataSource
Overrides:
getConnection in class com.liferay.portal.dao.jdbc.util.DataSourceWrapper
Throws:
SQLException

Liferay 7.0-ce-m3