com.baidu.unbiz.fluentvalidator.support
类 MethodNameFluentValidatorPostProcessor
java.lang.Object
com.baidu.unbiz.fluentvalidator.support.MethodNameFluentValidatorPostProcessor
- 所有已实现的接口:
- FluentValidatorPostProcessor
public class MethodNameFluentValidatorPostProcessor
- extends Object
- implements FluentValidatorPostProcessor
将拦截器拦截的方法名称注入FluentValidator上下文
- 作者:
- zhangxu
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_METHOD_NAME
public static final String KEY_METHOD_NAME
- 拦截的方法名
- 另请参见:
- 常量字段值
KEY_TARGET_CLASS_SIMPLE_NAME
public static final String KEY_TARGET_CLASS_SIMPLE_NAME
- 拦截的类Class
- 另请参见:
- 常量字段值
MethodNameFluentValidatorPostProcessor
public MethodNameFluentValidatorPostProcessor()
postProcessBeforeDoValidate
public FluentValidator postProcessBeforeDoValidate(FluentValidator fluentValidator,
org.aopalliance.intercept.MethodInvocation methodInvocation)
- 从接口
FluentValidatorPostProcessor 复制的描述
- 新建FluentValidator实例后,未做doValidate方法前植入一些调用的hook
- 指定者:
- 接口
FluentValidatorPostProcessor 中的 postProcessBeforeDoValidate
- 参数:
fluentValidator - FluentValidator,还未执行doValidate方法methodInvocation - 拦截器拦截的执行的方法
- 返回:
- FluentValidator
Copyright © 2015–2017 neoremind. All rights reserved.