public abstract class ProxyLogicSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
COMMON_METHOD_NAMES |
| Constructor and Description |
|---|
ProxyLogicSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
handleCommonMethod(String methodName,
Object original,
ProxyConfig proxyConfig,
Object[] args) |
protected boolean |
isCommonMethod(String methodName) |
protected abstract Object |
performProxyLogic(Object proxy,
Method method,
Object[] args,
MethodExecutionContext methodContext) |
protected Object |
proceedExecution(Method method,
Object target,
Object[] args)
Invoke the method on target object.
|
protected Object |
proceedMethodExecution(ProxyConfig proxyConfig,
Object original,
ConnectionInfo connectionInfo,
Object proxy,
Method method,
Object[] args)
Populate
MethodExecutionContext and calls before/after method callback. |
protected boolean isCommonMethod(String methodName)
protected Object handleCommonMethod(String methodName, Object original, ProxyConfig proxyConfig, Object[] args) throws SQLException
SQLExceptionprotected Object proceedExecution(Method method, Object target, Object[] args) throws Throwable
Throwableprotected Object proceedMethodExecution(ProxyConfig proxyConfig, Object original, ConnectionInfo connectionInfo, Object proxy, Method method, Object[] args) throws Throwable
MethodExecutionContext and calls before/after method callback.ThrowableCopyright © 2023. All rights reserved.