public class XADataSource extends CommonDataSource<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory> implements XADataSource
Constructor and Description |
---|
XADataSource()
Constructs a new XADataSource
|
Modifier and Type | Method and Description |
---|---|
XADataSourceProxyFactory |
createProxyFactory(DatabaseCluster<XADataSource,XADataSourceDatabase> cluster) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
void |
setLoginTimeout(int timeout) |
void |
setLogWriter(PrintWriter writer) |
create, getCluster, getConfig, getConfigurationFactory, getFactory, getParentLogger, getPassword, getProxy, getReference, getTimeout, getUser, setCluster, setConfig, setConfigurationFactory, setFactory, setPassword, setTimeout, setUser, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentLogger
public XADataSource()
public XADataSourceProxyFactory createProxyFactory(DatabaseCluster<XADataSource,XADataSourceDatabase> cluster)
createProxyFactory
in interface CommonDataSourceProxyFactoryFactory<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory>
public XAConnection getXAConnection() throws SQLException
getXAConnection
in interface XADataSource
SQLException
XADataSource.getXAConnection()
public XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection
in interface XADataSource
SQLException
XADataSource.getXAConnection(java.lang.String, java.lang.String)
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
getLoginTimeout
in class CommonDataSource<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory>
SQLException
CommonDataSource.getLoginTimeout()
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
getLogWriter
in class CommonDataSource<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory>
SQLException
CommonDataSource.getLogWriter()
public void setLoginTimeout(int timeout) throws SQLException
setLoginTimeout
in interface CommonDataSource
setLoginTimeout
in class CommonDataSource<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory>
SQLException
CommonDataSource.setLoginTimeout(int)
public void setLogWriter(PrintWriter writer) throws SQLException
setLogWriter
in interface CommonDataSource
setLogWriter
in class CommonDataSource<XADataSource,XADataSourceDatabase,XADataSourceProxyFactory>
SQLException
CommonDataSource.setLogWriter(java.io.PrintWriter)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.