public class DataSourceTracer extends Object
Constructor and Description |
---|
DataSourceTracer(TraceOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
getConnection(Connection result) |
void |
getConnection(Connection result,
String username,
String password) |
void |
getConnection(Throwable cause) |
void |
getConnection(Throwable cause,
String username,
String password) |
void |
getLoginTimeout(int result) |
void |
getLoginTimeout(Throwable cause) |
void |
getLogWriter(PrintWriter result) |
void |
getLogWriter(Throwable cause) |
void |
getParentLogger(Logger result) |
void |
getParentLogger(Throwable cause) |
void |
isWrapperFor(boolean result,
Class<?> iface) |
void |
isWrapperFor(Throwable cause,
Class<?> iface) |
com.impossibl.jdbc.spy.ConnectionListener |
newConnectionListener() |
void |
setLoginTimeout(int seconds) |
void |
setLoginTimeout(Throwable cause,
int seconds) |
void |
setLogWriter(PrintWriter out) |
void |
setLogWriter(Throwable cause,
PrintWriter out) |
void |
trace(Trace trace) |
<T> void |
unwrap(T result,
Class<T> iface) |
<T> void |
unwrap(Throwable cause,
Class<T> iface) |
public DataSourceTracer(TraceOutput out)
public void trace(Trace trace)
public void setLogWriter(PrintWriter out)
public void setLogWriter(Throwable cause, PrintWriter out)
public void getLogWriter(PrintWriter result)
public void getLogWriter(Throwable cause)
public <T> void unwrap(T result, Class<T> iface)
public void getLoginTimeout(int result)
public void getLoginTimeout(Throwable cause)
public void setLoginTimeout(int seconds)
public void setLoginTimeout(Throwable cause, int seconds)
public void getParentLogger(Logger result)
public void getParentLogger(Throwable cause)
public void isWrapperFor(boolean result, Class<?> iface)
public void getConnection(Connection result, String username, String password)
public void getConnection(Connection result)
public void getConnection(Throwable cause)
public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()