org.jboss.seam.interceptors
Class ValidationInterceptor

java.lang.Object
  extended by org.jboss.seam.interceptors.AbstractInterceptor
      extended by org.jboss.seam.interceptors.ValidationInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

Deprecated.

@Interceptor(stateless=true,
             within=BijectionInterceptor.class)
public class ValidationInterceptor
extends AbstractInterceptor

Validate the method receiver using Hibernate validator before invoking the method. If a validation failure occurs, put information about the failure in the request context and return a different outcome, without invoking the method.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
ValidationInterceptor()
          Deprecated.  
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
          Deprecated.  
 
Methods inherited from class org.jboss.seam.interceptors.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationInterceptor

public ValidationInterceptor()
Deprecated. 
Method Detail

aroundInvoke

@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
                    throws Exception
Deprecated. 
Throws:
Exception