com.caucho.tools.profiler
Class PooledConnectionWrapper
java.lang.Object
com.caucho.tools.profiler.PooledConnectionWrapper
- All Implemented Interfaces:
- javax.sql.PooledConnection
public final class PooledConnectionWrapper
- extends java.lang.Object
- implements javax.sql.PooledConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PooledConnectionWrapper
public PooledConnectionWrapper(ProfilerPoint profilerPoint,
javax.sql.PooledConnection connection)
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.PooledConnection
- Throws:
java.sql.SQLException
close
public void close()
throws java.sql.SQLException
- Specified by:
close
in interface javax.sql.PooledConnection
- Throws:
java.sql.SQLException
addConnectionEventListener
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
- Specified by:
addConnectionEventListener
in interface javax.sql.PooledConnection
removeConnectionEventListener
public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener
in interface javax.sql.PooledConnection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addStatementEventListener
public void addStatementEventListener(javax.sql.StatementEventListener listener)
- Specified by:
addStatementEventListener
in interface javax.sql.PooledConnection
removeStatementEventListener
public void removeStatementEventListener(javax.sql.StatementEventListener listener)
- Specified by:
removeStatementEventListener
in interface javax.sql.PooledConnection