org.openorb.ots.xa
public class XAVirtualConnection extends Object implements XAConnection
Constructor Summary | |
---|---|
XAVirtualConnection(Connection connection, XAVirtualDataSource xa_datasource)
Constructor |
Method Summary | |
---|---|
void | addConnectionEventListener(ConnectionEventListener listener)
Add an event listener |
void | close()
Close an XA connection |
void | closeEvent()
This operation is called to notify to all registered listener a close event. |
void | errorEvent(SQLException ex)
This operation is called to notify to all registered listener an error event. |
Connection | getConnection()
Return the connection for SQL statements |
String | getDataSourceMetaData()
Return the DataSource meta data |
XAResource | getXAResource()
This operation is called by the SessionManager to get an XA Resource on the database. |
void | removeConnectionEventListener(ConnectionEventListener listener)
Remove an event listener |