@Intercepts(before=br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.class)
@Lazy
public class ParameterLoaderInterceptor
extends java.lang.Object
implements br.com.caelum.vraptor.interceptor.Interceptor
| Constructor and Description |
|---|
ParameterLoaderInterceptor(javax.persistence.EntityManager em,
javax.servlet.http.HttpServletRequest request,
br.com.caelum.vraptor.http.ParameterNameProvider provider,
br.com.caelum.vraptor.Result result,
br.com.caelum.vraptor.core.Converters converters,
br.com.caelum.vraptor.core.Localization localization,
br.com.caelum.vraptor.view.FlashScope flash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(br.com.caelum.vraptor.resource.ResourceMethod method) |
static com.google.common.base.Predicate<java.lang.annotation.Annotation[]> |
hasAnnotation(java.lang.Class<?> annotation) |
void |
intercept(br.com.caelum.vraptor.core.InterceptorStack stack,
br.com.caelum.vraptor.resource.ResourceMethod method,
java.lang.Object resourceInstance) |
public ParameterLoaderInterceptor(javax.persistence.EntityManager em,
javax.servlet.http.HttpServletRequest request,
br.com.caelum.vraptor.http.ParameterNameProvider provider,
br.com.caelum.vraptor.Result result,
br.com.caelum.vraptor.core.Converters converters,
br.com.caelum.vraptor.core.Localization localization,
br.com.caelum.vraptor.view.FlashScope flash)
public boolean accepts(br.com.caelum.vraptor.resource.ResourceMethod method)
accepts in interface br.com.caelum.vraptor.interceptor.Interceptorpublic void intercept(br.com.caelum.vraptor.core.InterceptorStack stack,
br.com.caelum.vraptor.resource.ResourceMethod method,
java.lang.Object resourceInstance)
throws br.com.caelum.vraptor.InterceptionException
intercept in interface br.com.caelum.vraptor.interceptor.Interceptorbr.com.caelum.vraptor.InterceptionExceptionpublic static com.google.common.base.Predicate<java.lang.annotation.Annotation[]> hasAnnotation(java.lang.Class<?> annotation)
Copyright © 2014 Caelum. All Rights Reserved.