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

字段摘要
static String KEY_METHOD_NAME
          拦截的方法名
static String KEY_TARGET_CLASS_SIMPLE_NAME
          拦截的类Class
 
构造方法摘要
MethodNameFluentValidatorPostProcessor()
           
 
方法摘要
 FluentValidator postProcessBeforeDoValidate(FluentValidator fluentValidator, org.aopalliance.intercept.MethodInvocation methodInvocation)
          新建FluentValidator实例后,未做doValidate方法前植入一些调用的hook
 
从类 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.