Liferay 7.0-ga1 portal-impl

com.liferay.portal.dao.jdbc.util
Class RetryDataSourceWrapper

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

public class RetryDataSourceWrapper
extends DataSourceWrapper


Constructor Summary
RetryDataSourceWrapper(DataSource dataSource)
           
 
Method Summary
 Connection getConnection()
           
 Connection getConnection(String username, String password)
           
 
Methods inherited from class com.liferay.portal.dao.jdbc.util.DataSourceWrapper
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

RetryDataSourceWrapper

public RetryDataSourceWrapper(DataSource dataSource)
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface DataSource
Overrides:
getConnection in class DataSourceWrapper
Throws:
SQLException

getConnection

public Connection getConnection(String username,
                                String password)
                         throws SQLException
Specified by:
getConnection in interface DataSource
Overrides:
getConnection in class DataSourceWrapper
Throws:
SQLException

Liferay 7.0-ga1 portal-impl