org.apache.ibatis.logging.jdbc
Class ConnectionLogger

java.lang.Object
  extended by org.apache.ibatis.logging.jdbc.BaseJdbcLogger
      extended by org.apache.ibatis.logging.jdbc.ConnectionLogger
All Implemented Interfaces:
InvocationHandler

public final class ConnectionLogger
extends BaseJdbcLogger
implements InvocationHandler


Field Summary
 
Fields inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
EXECUTE_METHODS, SET_METHODS
 
Method Summary
 Connection getConnection()
           
protected  Log getLog()
           
 Object invoke(Object proxy, Method method, Object[] params)
           
static Connection newInstance(Connection conn, Log statementLog)
           
 
Methods inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
clearColumnInfo, debug, getColumn, getColumnString, getParameterValueString, getStatementLog, isDebugEnabled, removeBreakingWhitespace, setColumn, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] params)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

newInstance

public static Connection newInstance(Connection conn,
                                     Log statementLog)

getConnection

public Connection getConnection()

getLog

protected Log getLog()
Specified by:
getLog in class BaseJdbcLogger


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.