public final class SimonXADataSource extends AbstractSimonDataSource implements XADataSource
XAConnection
object.
See the SimonDataSource
for more information.configuration, logWriter
Constructor and Description |
---|
SimonXADataSource() |
Modifier and Type | Method and Description |
---|---|
protected String |
doGetRealDataSourceClassName()
Reads DataSource class name from configuration.
|
Logger |
getParentLogger() |
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(String user,
String password) |
createDataSource, getLoginTimeout, getLogWriter, getPassword, getPrefix, getProperties, getRealDataSourceClassName, getRealUrl, getUrl, getUser, setLoginTimeout, setLogWriter, setPassword, setPrefix, setProperties, setRealDataSourceClassName, setUrl, setUser
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
public SimonXADataSource()
public XAConnection getXAConnection() throws SQLException
getXAConnection
in interface XADataSource
SQLException
public XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection
in interface XADataSource
SQLException
protected String doGetRealDataSourceClassName()
AbstractSimonDataSource
doGetRealDataSourceClassName
in class AbstractSimonDataSource
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface CommonDataSource
SQLFeatureNotSupportedException
Copyright © 2019. All rights reserved.