public class P6PooledConnection extends Object implements PooledConnection
Modifier and Type | Field and Description |
---|---|
protected PooledConnection |
passthru |
Constructor and Description |
---|
P6PooledConnection(PooledConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(ConnectionEventListener eventTarget) |
void |
addStatementEventListener(StatementEventListener arg0) |
void |
close() |
Connection |
getConnection() |
void |
removeConnectionEventListener(ConnectionEventListener eventTarget) |
void |
removeStatementEventListener(StatementEventListener arg0) |
protected PooledConnection passthru
public P6PooledConnection(PooledConnection connection)
public Connection getConnection() throws SQLException
getConnection
in interface PooledConnection
SQLException
public void close() throws SQLException
close
in interface PooledConnection
SQLException
public void addConnectionEventListener(ConnectionEventListener eventTarget)
addConnectionEventListener
in interface PooledConnection
public void removeConnectionEventListener(ConnectionEventListener eventTarget)
removeConnectionEventListener
in interface PooledConnection
public void addStatementEventListener(StatementEventListener arg0)
addStatementEventListener
in interface PooledConnection
public void removeStatementEventListener(StatementEventListener arg0)
removeStatementEventListener
in interface PooledConnection