public abstract class AbstractAopConfigration extends Object implements AopConfigration
IOCNAME| Constructor and Description |
|---|
AbstractAopConfigration() |
| Modifier and Type | Method and Description |
|---|---|
List<InterceptorPair> |
getInterceptorPairList(Ioc ioc,
Class<?> clazz)
获取需要method与拦截器的对应关系,建议不要返回null
|
protected MethodInterceptor |
getMethodInterceptor(Ioc ioc,
String interceptorName,
boolean singleton) |
void |
setAopItemList(List<AopConfigrationItem> aopItemList) |
public List<InterceptorPair> getInterceptorPairList(Ioc ioc, Class<?> clazz)
AopConfigrationgetInterceptorPairList in interface AopConfigrationioc - 如果拦截器来自ioc容器,则需要提供这个参数clazz - 需要拦截的类public void setAopItemList(List<AopConfigrationItem> aopItemList)
protected MethodInterceptor getMethodInterceptor(Ioc ioc, String interceptorName, boolean singleton)
Copyright © 2017. All rights reserved.