public class ArgAutoOperateProxyMethodFactory extends MethodArgumentAutoOperateSupport implements OperatorProxyMethodFactory
An operator proxy method factory that supports auto operate for method parameters when calling method.
compare to ParametersFillProxyMethodFactory, this class follows the rule of AutoOperate,
it should always perform before ParametersFillProxyMethodFactory.
MethodArgumentAutoOperateSupport,
ParametersFillProxyMethodFactory,
ArgAutoOperate,
AutoOperateannotationFinder, elementResolver, EMPTY_ELEMENTS, expressionEvaluator, methodParameterCaches, parameterNameFinder| 构造器和说明 |
|---|
ArgAutoOperateProxyMethodFactory(AutoOperateAnnotatedElementResolver elementResolver,
MethodBasedExpressionEvaluator expressionExecuteDelegate,
ParameterNameFinder parameterNameFinder,
AnnotationFinder annotationFinder)
Create a
MethodArgumentAutoOperateSupport instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
@Nullable MethodInvoker |
get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
int |
getSort()
Gets the sorting value.
|
beforeMethodInvoke, destroy, processArguments, resolveParameterspublic ArgAutoOperateProxyMethodFactory(AutoOperateAnnotatedElementResolver elementResolver, MethodBasedExpressionEvaluator expressionExecuteDelegate, ParameterNameFinder parameterNameFinder, AnnotationFinder annotationFinder)
MethodArgumentAutoOperateSupport instance.elementResolver - element handlerexpressionExecuteDelegate - expression evaluator delegateparameterNameFinder - parameter name finderannotationFinder - annotation finderpublic int getSort()
Gets the sorting value.
The smaller the value, the higher the priority of the object.
public @Nullable MethodInvoker get(BeanOperations beanOperations, Method method, BeanOperationExecutor beanOperationExecutor)
get 在接口中 OperatorProxyMethodFactorybeanOperations - bean operationsmethod - method with at least one parameterbeanOperationExecutor - bean operation executorCopyright © 2024. All rights reserved.