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) throws SQLException
getConnection in interface DataSourceSQLExceptionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLExceptionpublic void setLoginTimeout(int timeout)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLExceptionpublic PrintWriter getLogWriter()
getLogWriter in interface CommonDataSourcepublic void setLogWriter(PrintWriter pw) throws SQLException
setLogWriter in interface CommonDataSourceSQLExceptionpublic <T> T unwrap(Class<T> tClass) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> aClass) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2018 Atlassian. All rights reserved.