public class MapperJava8Proxy extends MapperJavaProxy
builder, entityClass, mapperInterface, sqlManager| 构造器和说明 |
|---|
MapperJava8Proxy() |
MapperJava8Proxy(MapperConfigBuilder builder,
SQLManager sqlManager,
Class<?> mapperInterface) |
| 限定符和类型 | 方法和说明 |
|---|---|
MapperJava8Proxy |
build()
Builds the.
|
MapperJava8Proxy |
entityClass(Class<?> entityClass)
Entity class.
|
Object |
invoke(Object proxy,
Method method,
Object[] args)
获得 Invoke.
|
protected Object |
invokeDefaultMethod(Object proxy,
Method method,
Object[] args)
若jdk版本在1.8以上,且被调用的方法是默认方法,直接调用默认实现
|
MapperJava8Proxy |
mapperInterface(Class<?> mapperInterface)
Mapper interface.
|
checkArgs, onResolveEntityClassFromMapperInterfacepublic MapperJava8Proxy()
public MapperJava8Proxy(MapperConfigBuilder builder, SQLManager sqlManager, Class<?> mapperInterface)
builder - sqlManager - mapperInterface - public MapperJava8Proxy mapperInterface(Class<?> mapperInterface)
mapperInterface 在类中 MapperJavaProxymapperInterface - the dao2 interfacepublic MapperJava8Proxy entityClass(Class<?> entityClass)
entityClass 在类中 MapperJavaProxyentityClass - the entity classpublic MapperJava8Proxy build()
build 在类中 MapperJavaProxypublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
MapperJavaProxyinvoke 在接口中 InvocationHandlerinvoke 在类中 MapperJavaProxyproxy - the proxymethod - the methodargs - the argsThrowable - the throwableCopyright © 2024. All rights reserved.