org.apache.ibatis.logging.jdbc
Class StatementLogger

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

public final class StatementLogger
extends BaseJdbcLogger
implements InvocationHandler


Field Summary
 
Fields inherited from class org.apache.ibatis.logging.jdbc.BaseJdbcLogger
EXECUTE_METHODS, SET_METHODS
 
Method Summary
protected  Log getLog()
           
 Statement getStatement()
           
 Object invoke(Object proxy, Method method, Object[] params)
           
static Statement newInstance(Statement stmt, 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 Statement newInstance(Statement stmt,
                                    Log statementLog)

getStatement

public Statement getStatement()

getLog

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


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