public class SQLitePooledConnection extends JDBC4PooledConnection implements PooledConnection
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
handleConn |
protected List<ConnectionEventListener> |
listeners |
protected Connection |
physicalConn |
| Modifier | Constructor and Description |
|---|---|
protected |
SQLitePooledConnection(Connection physicalConn)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionEventListener(ConnectionEventListener listener) |
void |
close() |
Connection |
getConnection() |
void |
removeConnectionEventListener(ConnectionEventListener listener) |
addStatementEventListener, removeStatementEventListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatementEventListener, removeStatementEventListenerprotected Connection physicalConn
protected volatile Connection handleConn
protected List<ConnectionEventListener> listeners
protected SQLitePooledConnection(Connection physicalConn)
physicalConn - The physical Connection.public void close()
throws SQLException
close in interface PooledConnectionSQLExceptionPooledConnection.close()public Connection getConnection() throws SQLException
getConnection in interface PooledConnectionSQLExceptionPooledConnection.getConnection()public void addConnectionEventListener(ConnectionEventListener listener)
addConnectionEventListener in interface PooledConnectionPooledConnection.addConnectionEventListener(javax.sql.ConnectionEventListener)public void removeConnectionEventListener(ConnectionEventListener listener)
removeConnectionEventListener in interface PooledConnectionPooledConnection.removeConnectionEventListener(javax.sql.ConnectionEventListener)Copyright © 2014. All rights reserved.