Class MapperProxy<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.reflect.InvocationHandler

    public class MapperProxy<T>
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler, java.io.Serializable
    Author:
    Clinton Begin, Eduardo Macarron
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MapperProxy​(SqlSession sqlSession, java.lang.Class<T> mapperInterface, java.util.Map<java.lang.reflect.Method,​org.apache.ibatis.binding.MapperProxy.MapperMethodInvoker> methodCache)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapperProxy

        public MapperProxy​(SqlSession sqlSession,
                           java.lang.Class<T> mapperInterface,
                           java.util.Map<java.lang.reflect.Method,​org.apache.ibatis.binding.MapperProxy.MapperMethodInvoker> methodCache)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable