public final class Interceptors extends Object
Constructor and Description |
---|
Interceptors() |
Modifier and Type | Method and Description |
---|---|
Interceptors |
add(Interceptor globalActionInterceptor)
The same as addGlobalActionInterceptor.
|
Interceptors |
addGlobalActionInterceptor(Interceptor globalActionInterceptor)
Add the global action interceptor to intercept all the actions.
|
Interceptors |
addGlobalServiceInterceptor(Interceptor globalServiceInterceptor)
Add the global service interceptor to intercept all the method enhanced by aop Enhancer.
|
public Interceptors add(Interceptor globalActionInterceptor)
public Interceptors addGlobalActionInterceptor(Interceptor globalActionInterceptor)
public Interceptors addGlobalServiceInterceptor(Interceptor globalServiceInterceptor)
Copyright © 2018. All rights reserved.