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 1209816 2011-12-03 01:19:00Z mbenson $

Constructor Summary
ValidateMethodInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
          
 void setValidatorFactory(ValidatorFactory validatorFactory)
          Sets the ValidatorFactory 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

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-2012 Apache Software Foundation. All Rights Reserved.