public class InterceptorManager extends Object
Modifier and Type | Field and Description |
---|---|
static Interceptor[] |
NULL_INTERS |
Modifier and Type | Method and Description |
---|---|
void |
addGlobalActionInterceptor(Interceptor... inters) |
void |
addGlobalServiceInterceptor(Interceptor... inters) |
Interceptor[] |
buildControllerActionInterceptor(Interceptor[] injectInters,
Interceptor[] classInters,
Class<? extends Controller> controllerClass,
Method method) |
Interceptor[] |
buildServiceMethodInterceptor(Interceptor[] injectInters,
Class<?> serviceClass,
Method method) |
Interceptor[] |
createControllerInterceptor(Class<? extends Controller> controllerClass) |
Interceptor[] |
createInterceptor(Before beforeAnnotation) |
Interceptor[] |
createInterceptor(Class<? extends Interceptor>[] interceptorClasses) |
Interceptor[] |
createServiceInterceptor(Class<?> serviceClass) |
static InterceptorManager |
me() |
public static final Interceptor[] NULL_INTERS
public static InterceptorManager me()
public Interceptor[] createControllerInterceptor(Class<? extends Controller> controllerClass)
public Interceptor[] createServiceInterceptor(Class<?> serviceClass)
public Interceptor[] buildControllerActionInterceptor(Interceptor[] injectInters, Interceptor[] classInters, Class<? extends Controller> controllerClass, Method method)
public Interceptor[] buildServiceMethodInterceptor(Interceptor[] injectInters, Class<?> serviceClass, Method method)
public Interceptor[] createInterceptor(Before beforeAnnotation)
public Interceptor[] createInterceptor(Class<? extends Interceptor>[] interceptorClasses)
public void addGlobalActionInterceptor(Interceptor... inters)
public void addGlobalServiceInterceptor(Interceptor... inters)
Copyright © 2018. All rights reserved.