@Deprecated public class NonJtaXADataSourceWrapper extends Object implements XADataSourceWrapper
| Modifier and Type | Field and Description |
|---|---|
protected XADataSource |
xaDataSource
Deprecated.
|
| Constructor and Description |
|---|
NonJtaXADataSourceWrapper(XADataSource xaDataSource)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkIfValid()
Deprecated.
|
Connection |
getConnection()
Deprecated.
|
Connection |
getConnection(String username,
String password)
Deprecated.
|
int |
getLoginTimeout()
Deprecated.
|
PrintWriter |
getLogWriter()
Deprecated.
|
Logger |
getParentLogger()
Deprecated.
|
boolean |
isWrapperFor(Class<?> iface)
Deprecated.
|
void |
setLoginTimeout(int seconds)
Deprecated.
|
void |
setLogWriter(PrintWriter out)
Deprecated.
|
<T> T |
unwrap(Class<T> iface)
Deprecated.
|
protected XADataSource xaDataSource
public NonJtaXADataSourceWrapper(XADataSource xaDataSource)
public Connection getConnection() throws SQLException
getConnection in interface DataSourceSQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
getConnection in interface DataSourceSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic PrintWriter getLogWriter() throws SQLException
getLogWriter in interface CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter out) throws SQLException
setLogWriter in interface CommonDataSourceSQLExceptionpublic void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLExceptionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionprotected void checkIfValid()
Copyright © 2015–2020. All rights reserved.