public class JdbcExecutor<T> extends Object implements InvocationHandler
| 限定符 | 构造器和说明 |
|---|---|
protected |
JdbcExecutor(Class<T> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
InvocationHandler |
$handler() |
protected Function<Object[],Object> |
buildMethodFunction(MethodMetadata meta) |
protected Function<Object[],Object> |
buildSelectFunction(MethodMetadata meta) |
protected Function<Object[],Object> |
buildUpdateFunction(MethodMetadata meta) |
protected Connection |
getConnection(MethodArgs methodArgs) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke 在接口中 InvocationHandlerThrowablepublic InvocationHandler $handler()
protected Function<Object[],Object> buildMethodFunction(MethodMetadata meta)
protected Function<Object[],Object> buildUpdateFunction(MethodMetadata meta)
protected Function<Object[],Object> buildSelectFunction(MethodMetadata meta)
protected Connection getConnection(MethodArgs methodArgs)
Copyright © 2024 fossc. All rights reserved.