public interface MockXADataSource extends MockDataSource, XADataSource
| Modifier and Type | Interface and Description |
|---|---|
static class |
MockXADataSource.Empty |
| Modifier and Type | Method and Description |
|---|---|
default int |
getLoginTimeout() |
default PrintWriter |
getLogWriter() |
default XAConnection |
getXAConnection() |
default XAConnection |
getXAConnection(String user,
String password) |
default void |
setLoginTimeout(int seconds) |
default void |
setLogWriter(PrintWriter out) |
getConnection, getConnection, getParentLogger, isWrapperFor, unwrapdefault XAConnection getXAConnection() throws SQLException
getXAConnection in interface XADataSourceSQLExceptiondefault XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection in interface XADataSourceSQLExceptiondefault PrintWriter getLogWriter() throws SQLException
getLogWriter in interface CommonDataSourcegetLogWriter in interface MockDataSourceSQLExceptiondefault void setLogWriter(PrintWriter out) throws SQLException
setLogWriter in interface CommonDataSourcesetLogWriter in interface MockDataSourceSQLExceptiondefault int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourcegetLoginTimeout in interface MockDataSourceSQLExceptiondefault void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourcesetLoginTimeout in interface MockDataSourceSQLExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.