Package | Class | Use | Tree | Deprecated | Index | Help
| log4jdbc3 1.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
net.sf.log4jdbc.Spy

Uses of Spy in net.sf.log4jdbc

Classes in net.sf.log4jdbc that implement Spy
`class` | `CallableStatementSpy` Wraps a CallableStatement and reports method calls, returns and exceptions.
`class` | `ConnectionSpy` Wraps a JDBC Connection and reports method calls, returns and exceptions.
`class` | `PreparedStatementSpy` Wraps a PreparedStatement and reports method calls, returns and exceptions.
`class` | `ResultSetSpy` Wraps a ResultSet and reports method calls, returns and exceptions.
`class` | `StatementSpy` Wraps a Statement and reports method calls, returns and exceptions.

Methods in net.sf.log4jdbc with parameters of type Spy
`void` | `SpyLogDelegator.exceptionOccured(Spy spy, String methodCall, Exception e, String sql, long execTime)` Called when a spied upon method throws an Exception.
`void` | `SpyLogDelegator.methodReturned(Spy spy, String methodCall, String returnMsg)` Called when spied upon method call returns.
`void` | `SpyLogDelegator.constructorReturned(Spy spy, String constructionInfo)` Called when a spied upon object is constructed.
`void` | `SpyLogDelegator.sqlOccured(Spy spy, String methodCall, String sql)` Special call that is called only for JDBC method calls that contain SQL.
`void` | `SpyLogDelegator.sqlTimingOccured(Spy spy, long execTime, String methodCall, String sql)` Similar to sqlOccured, but reported after SQL executes and used to report timing stats on the SQL
`void` | `Slf4jSpyLogDelegator.exceptionOccured(Spy spy, String methodCall, Exception e, String sql, long execTime)` Called when a jdbc method throws an Exception.
`void` | `Slf4jSpyLogDelegator.methodReturned(Spy spy, String methodCall, String returnMsg)` Called when a jdbc method from a Connection, Statement, PreparedStatement, CallableStatement or ResultSet returns.
`void` | `Slf4jSpyLogDelegator.constructorReturned(Spy spy, String constructionInfo)` Called when a spied upon object is constructed.
`void` | `Slf4jSpyLogDelegator.sqlOccured(Spy spy, String methodCall, String sql)` Special call that is called only for JDBC method calls that contain SQL.
`void` | `Slf4jSpyLogDelegator.sqlTimingOccured(Spy spy, long execTime, String methodCall, String sql)` Special call that is called only for JDBC method calls that contain SQL.

Package | Class | Use | Tree | Deprecated | Index | Help
| log4jdbc3 1.1
PREV NEXT | FRAMES NO FRAMES