org.javasimon.jdbcx
Class SimonXADataSource
java.lang.Object
org.javasimon.jdbcx.AbstractSimonDataSource
org.javasimon.jdbcx.SimonXADataSource
- All Implemented Interfaces:
- CommonDataSource, XADataSource
public final class SimonXADataSource
- extends AbstractSimonDataSource
- implements XADataSource
Wrapper class for real XADataSource implementation, produces xa
XAConnection object.
See the SimonDataSource for more information.
- Since:
- 1.0
- Version:
- $Revision: 304 $ $Date: 2011-04-08 10:39:02 +0200 (Fri, 08 Apr 2011) $
- Author:
- Radovan Sninsky
| Methods inherited from class org.javasimon.jdbcx.AbstractSimonDataSource |
getLoginTimeout, getLogWriter, getPassword, getPrefix, getRealDataSourceClassName, getUrl, getUser, setLoginTimeout, setLogWriter, setPassword, setPrefix, setRealDataSourceClassName, setUrl, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ds
private XADataSource ds
SimonXADataSource
public SimonXADataSource()
datasource
private XADataSource datasource()
throws SQLException
- Throws:
SQLException
getXAConnection
public XAConnection getXAConnection()
throws SQLException
-
- Specified by:
getXAConnection in interface XADataSource
- Throws:
SQLException
getXAConnection
public XAConnection getXAConnection(String user,
String password)
throws SQLException
-
- Specified by:
getXAConnection in interface XADataSource
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.