类 InterfaceProxyHandler<T>
java.lang.Object
com.dtflys.forest.proxy.InterfaceProxyHandler<T>
- 所有已实现的接口:
VariableScope,InvocationHandler
- 从以下版本开始:
- 2016-05-04
- 作者:
- gongjun[dt_flys@hotmail.com]
-
构造器概要
构造器构造器说明InterfaceProxyHandler(ForestConfiguration configuration, ProxyFactory proxyFactory, Class<T> interfaceClass) -
方法概要
修饰符和类型方法说明getVariable(String name) getVariableValue(String name) getVariableValue(String name, ForestMethod method) 调用 Forest 动态代理接口对象的方法booleanisVariableDefined(String name) voidsetBaseLogConfiguration(LogConfiguration baseLogConfiguration)
-
构造器详细资料
-
InterfaceProxyHandler
public InterfaceProxyHandler(ForestConfiguration configuration, ProxyFactory proxyFactory, Class<T> interfaceClass)
-
-
方法详细资料
-
getProxyFactory
-
getInterfaceClass
-
getForestMethods
-
invoke
调用 Forest 动态代理接口对象的方法- 指定者:
invoke在接口中InvocationHandler- 参数:
proxy- 动态代理对象method- 所要调用的方法Method对象args- 所要调用方法的入参数组- 返回:
- 方法调用返回结果
- 抛出:
Throwable- 方法调用过程中可能抛出的异常
-
getBaseMetaRequest
-
isVariableDefined
- 指定者:
isVariableDefined在接口中VariableScope
-
getVariableValue
- 指定者:
getVariableValue在接口中VariableScope
-
getVariableValue
- 指定者:
getVariableValue在接口中VariableScope
-
getBaseAnnotations
-
getVariable
- 指定者:
getVariable在接口中VariableScope
-
getConfiguration
- 指定者:
getConfiguration在接口中VariableScope
-
getBaseLogConfiguration
-
setBaseLogConfiguration
-