类 MapperProxy

java.lang.Object
com.alibaba.nacos.plugin.datasource.proxy.MapperProxy
所有已实现的接口:
InvocationHandler

public class MapperProxy extends Object implements InvocationHandler
DataSource plugin Mapper sql proxy.
作者:
hyx
  • 构造器详细资料

    • MapperProxy

      public MapperProxy()
  • 方法详细资料

    • createProxy

      public <R> R createProxy(Mapper mapper)
      Creates a proxy instance for the sub-interfaces of Mapper.class implemented by the given object.
    • createSingleProxy

      public static <R> R createSingleProxy(Mapper mapper)
      create proxy-mapper single instead of using method createProxy.
    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      指定者:
      invoke 在接口中 InvocationHandler
      抛出:
      Throwable