org.apache.openejb.resource.jdbc.managed.xa
Class ManagedXADataSource
java.lang.Object
org.apache.openejb.resource.jdbc.managed.local.ManagedDataSource
org.apache.openejb.resource.jdbc.managed.xa.ManagedXADataSource
- All Implemented Interfaces:
- Wrapper, CommonDataSource, DataSource
public class ManagedXADataSource
- extends ManagedDataSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedXADataSource
public ManagedXADataSource(DataSource ds,
TransactionManager txMgr)
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface DataSource- Overrides:
getConnection in class ManagedDataSource
- Throws:
SQLException
getConnection
public Connection getConnection(String username,
String password)
throws SQLException
- Specified by:
getConnection in interface DataSource- Overrides:
getConnection in class ManagedDataSource
- Throws:
SQLException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.