com.p6spy.engine.spy
Class P6PooledConnection

java.lang.Object
  extended by com.p6spy.engine.spy.P6PooledConnection
All Implemented Interfaces:
PooledConnection
Direct Known Subclasses:
P6XAConnection

public class P6PooledConnection
extends Object
implements PooledConnection


Field Summary
protected  PooledConnection passthru
           
 
Constructor Summary
P6PooledConnection(PooledConnection connection)
           
 
Method Summary
 void addConnectionEventListener(ConnectionEventListener eventTarget)
           
 void close()
           
 Connection getConnection()
           
 void removeConnectionEventListener(ConnectionEventListener eventTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

passthru

protected PooledConnection passthru
Constructor Detail

P6PooledConnection

public P6PooledConnection(PooledConnection connection)
Method Detail

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 eventTarget)
Specified by:
addConnectionEventListener in interface PooledConnection

removeConnectionEventListener

public void removeConnectionEventListener(ConnectionEventListener eventTarget)
Specified by:
removeConnectionEventListener in interface PooledConnection