public abstract class AbstractPooledDataSource extends Object implements DataSource
| Constructor and Description |
|---|
AbstractPooledDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class<?> iface) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
abstract void |
shutdown() |
abstract void |
startup() |
<T> T |
unwrap(Class<T> iface) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionpublic abstract void startup()
throws ComponentPoolException
ComponentPoolExceptionpublic abstract void shutdown()
throws ComponentPoolException
ComponentPoolExceptionpublic Connection getConnection(String username, String password)
getConnection in interface DataSourcepublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionpublic PrintWriter getLogWriter()
getLogWriter in interface CommonDataSourcepublic void setLogWriter(PrintWriter out)
setLogWriter in interface CommonDataSourcepublic void setLoginTimeout(int seconds)
setLoginTimeout in interface CommonDataSourcepublic int getLoginTimeout()
getLoginTimeout in interface CommonDataSourcepublic boolean isWrapperFor(Class<?> iface)
isWrapperFor in interface WrapperCopyright © 2013. All Rights Reserved.