Package org.smallmind.persistence.sql
Class XADataSourcePooledConnection
java.lang.Object
org.smallmind.persistence.sql.AbstractPooledConnection<XADataSource>
org.smallmind.persistence.sql.XADataSourcePooledConnection
- All Implemented Interfaces:
InvocationHandler,PooledConnection,XAConnection
public class XADataSourcePooledConnection
extends AbstractPooledConnection<XADataSource>
implements XAConnection
-
Constructor Summary
ConstructorsConstructorDescriptionXADataSourcePooledConnection(XADataSource dataSource, int maxStatements) XADataSourcePooledConnection(XADataSource dataSource, String user, String password, int maxStatements) -
Method Summary
Methods inherited from class org.smallmind.persistence.sql.AbstractPooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, getLogWriter, getStatementEventListeners, invoke, removeConnectionEventListener, removeStatementEventListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.PooledConnection
addConnectionEventListener, addStatementEventListener, close, getConnection, removeConnectionEventListener, removeStatementEventListener
-
Constructor Details
-
XADataSourcePooledConnection
- Throws:
SQLException
-
XADataSourcePooledConnection
public XADataSourcePooledConnection(XADataSource dataSource, String user, String password, int maxStatements) throws SQLException - Throws:
SQLException
-
-
Method Details
-
getConnectionEvent
- Specified by:
getConnectionEventin classAbstractPooledConnection<XADataSource>
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Throws:
SQLException
-