org.wso2.carbon.ndatasource.datasources
Class LocalXADataSource.LocalXAConnection
java.lang.Object
org.wso2.carbon.ndatasource.datasources.LocalXADataSource.LocalXAConnection
- All Implemented Interfaces:
- PooledConnection, XAConnection
- Enclosing class:
- LocalXADataSource
public class LocalXADataSource.LocalXAConnection
- extends Object
- implements XAConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalXADataSource.LocalXAConnection
public LocalXADataSource.LocalXAConnection()
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface PooledConnection
- Throws:
SQLException
close
public void close()
throws SQLException
- Specified by:
close in interface PooledConnection
- Throws:
SQLException
addConnectionEventListener
public void addConnectionEventListener(ConnectionEventListener listener)
- Specified by:
addConnectionEventListener in interface PooledConnection
removeConnectionEventListener
public void removeConnectionEventListener(ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener in interface PooledConnection
addStatementEventListener
public void addStatementEventListener(StatementEventListener listener)
- Specified by:
addStatementEventListener in interface PooledConnection
removeStatementEventListener
public void removeStatementEventListener(StatementEventListener listener)
- Specified by:
removeStatementEventListener in interface PooledConnection
getXAResource
public XAResource getXAResource()
throws SQLException
- Specified by:
getXAResource in interface XAConnection
- Throws:
SQLException
Copyright © 2015 WSO2. All rights reserved.