public static class DataSourceProviderActiveObjectsFactory.ActiveObjectsDataSource extends Object implements DataSource
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout()
Returns 0, indicating to use the default system timeout.
|
PrintWriter |
getLogWriter()
LogWriter methods are not supported.
|
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class<?> aClass) |
void |
setLoginTimeout(int timeout)
Setting a login timeout is not supported.
|
void |
setLogWriter(PrintWriter pw)
LogWriter methods are not supported.
|
<T> T |
unwrap(Class<T> tClass) |
public Connection getConnection() throws SQLException
getConnection in interface DataSourceSQLExceptionpublic Connection getConnection(String username, String password)
getConnection in interface DataSourcepublic int getLoginTimeout()
getLoginTimeout in interface CommonDataSourcepublic void setLoginTimeout(int timeout)
setLoginTimeout in interface CommonDataSourcepublic PrintWriter getLogWriter()
getLogWriter in interface CommonDataSourcepublic void setLogWriter(PrintWriter pw)
setLogWriter in interface CommonDataSourcepublic boolean isWrapperFor(Class<?> aClass)
isWrapperFor in interface Wrapperpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2020 Atlassian. All rights reserved.