org.apache.bval.guice
Class ValidateMethodInterceptor
java.lang.Object
org.apache.bval.guice.ValidateMethodInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public final class ValidateMethodInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
Method interceptor for Validate
annotation.
- Version:
- $Id: ValidateMethodInterceptor.java 1209816 2011-12-03 01:19:00Z mbenson $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateMethodInterceptor
public ValidateMethodInterceptor()
setValidatorFactory
public void setValidatorFactory(ValidatorFactory validatorFactory)
- Sets the
ValidatorFactory
reference.
- Parameters:
validatorFactory
- the ValidatorFactory
reference
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
-
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.