public abstract class AbstractAopConfigration extends java.lang.Object implements AopConfigration
IOCNAME| 构造器和说明 |
|---|
AbstractAopConfigration() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<InterceptorPair> |
getInterceptorPairList(Ioc ioc,
java.lang.Class<?> clazz)
获取需要method与拦截器的对应关系,建议不要返回null
|
protected MethodInterceptor |
getMethodInterceptor(Ioc ioc,
java.lang.String interceptorName,
boolean singleton) |
void |
setAopItemList(java.util.List<AopConfigrationItem> aopItemList) |
public java.util.List<InterceptorPair> getInterceptorPairList(Ioc ioc, java.lang.Class<?> clazz)
AopConfigrationgetInterceptorPairList 在接口中 AopConfigrationioc - 如果拦截器来自ioc容器,则需要提供这个参数clazz - 需要拦截的类public void setAopItemList(java.util.List<AopConfigrationItem> aopItemList)
protected MethodInterceptor getMethodInterceptor(Ioc ioc, java.lang.String interceptorName, boolean singleton)