org.apache.bval.guice
Class ValidateMethodInterceptor

java.lang.Object
  extended by 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 981307 2010-08-01 20:05:24Z simonetripodi $

Constructor Summary
ValidateMethodInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
          
 void setValidatorProvider(ValidatorProvider validatorProvider)
          Sets the ValidatorProvider reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateMethodInterceptor

public ValidateMethodInterceptor()
Method Detail

setValidatorProvider

public void setValidatorProvider(ValidatorProvider validatorProvider)
Sets the ValidatorProvider reference.

Parameters:
validatorProvider - the ValidatorProvider 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-2011 The Apache Software Foundation. All Rights Reserved.