public final class Interceptors extends Object
| 构造器和说明 |
|---|
Interceptors() |
| 限定符和类型 | 方法和说明 |
|---|---|
Interceptors |
add(Interceptor globalActionInterceptor)
The same as addGlobalActionInterceptor.
|
void |
addGlobalActionInterceptor(Interceptor globalActionInterceptor)
Add the global action interceptor to intercept all the actions.
|
void |
addGlobalServiceInterceptor(Interceptor globalServiceInterceptor)
Add the global service interceptor to intercept all the method enhanced by aop Enhancer.
|
Interceptor[] |
getGlobalActionInterceptor() |
public Interceptors add(Interceptor globalActionInterceptor)
public void addGlobalActionInterceptor(Interceptor globalActionInterceptor)
public void addGlobalServiceInterceptor(Interceptor globalServiceInterceptor)
public Interceptor[] getGlobalActionInterceptor()
Copyright © 2015. All rights reserved.