com.ibatis.common.jdbc.logging
Class ConnectionLogProxy
java.lang.Object
com.ibatis.common.jdbc.logging.BaseLogProxy
com.ibatis.common.jdbc.logging.ConnectionLogProxy
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- public class ConnectionLogProxy
- extends BaseLogProxy
- implements java.lang.reflect.InvocationHandler
Field Summary |
private java.sql.Connection |
connection
|
private static org.apache.commons.logging.Log |
log
|
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] params)
|
static java.sql.Connection |
newInstance(java.sql.Connection conn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
connection
private java.sql.Connection connection
ConnectionLogProxy
private ConnectionLogProxy(java.sql.Connection conn)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] params)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
newInstance
public static java.sql.Connection newInstance(java.sql.Connection conn)