public static class PoolingDataSourceBean.DirectXADataSource extends Object implements XADataSource
Constructor and Description |
---|
DirectXADataSource() |
Modifier and Type | Method and Description |
---|---|
XADataSource |
getDataSource() |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
public XAConnection getXAConnection() throws SQLException
getXAConnection
in interface XADataSource
SQLException
public XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection
in interface XADataSource
SQLException
public void setLogWriter(PrintWriter out) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
public void setLoginTimeout(int seconds) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
@UsesJava7 public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface CommonDataSource
SQLFeatureNotSupportedException
public XADataSource getDataSource()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.