public class DynamicContainerOperatorProxyMethodFactory extends Object implements OperatorProxyMethodFactory
ContainerParam,
BeanOperationExecutor.Options| 限定符和类型 | 类和说明 |
|---|---|
static interface |
DynamicContainerOperatorProxyMethodFactory.ContainerParameterAdaptorProvider
Provider of container parameter adaptor.
|
protected static class |
DynamicContainerOperatorProxyMethodFactory.DynamicContainerMethodInvoker
Dynamic container method invoker.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ORDER |
| 构造器和说明 |
|---|
DynamicContainerOperatorProxyMethodFactory(ConverterManager converterManager,
ParameterNameFinder parameterNameFinder,
AnnotationFinder annotationFinder)
Create a
DynamicContainerOperatorProxyMethodFactory comparator. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAdaptorProvider(Class<?> type,
DynamicContainerOperatorProxyMethodFactory.ContainerParameterAdaptorProvider adaptorProvider)
Add adaptor provider for specific type.
|
@Nullable MethodInvoker |
get(BeanOperations beanOperations,
Method method,
BeanOperationExecutor beanOperationExecutor)
Get operator proxy method.
|
int |
getSort()
Gets the sorting value.
|
public static final int ORDER
public DynamicContainerOperatorProxyMethodFactory(ConverterManager converterManager, ParameterNameFinder parameterNameFinder, AnnotationFinder annotationFinder)
DynamicContainerOperatorProxyMethodFactory comparator.converterManager - converter managerparameterNameFinder - parameter name finderannotationFinder - annotation finderpublic int getSort()
Gets the sorting value.
The smaller the value, the higher the priority of the object.
public void addAdaptorProvider(Class<?> type, DynamicContainerOperatorProxyMethodFactory.ContainerParameterAdaptorProvider adaptorProvider)
type - typeadaptorProvider - adaptor providerpublic @Nullable MethodInvoker get(BeanOperations beanOperations, Method method, BeanOperationExecutor beanOperationExecutor)
get 在接口中 OperatorProxyMethodFactorybeanOperations - bean operationsmethod - with at least one parameterbeanOperationExecutor - bean operation executorCopyright © 2023. All rights reserved.