程序包 infra.aop
接口 IntroductionAdvisor
- 所有超级接口:
Advisor,IntroductionInfo
Superinterface for advisors that perform one or more AOP introductions.
This interface cannot be implemented directly; subinterfaces must provide the advice type implementing the introduction.
Introduction is the implementation of additional interfaces (not implemented by a target) via AOP advice.
- 从以下版本开始:
- 3.0
- 作者:
- Rod Johnson, TODAY 2021/2/1 18:47
- 另请参阅:
-
字段概要
从接口继承的字段 infra.aop.Advisor
EMPTY_ADVICE -
方法概要
修饰符和类型方法说明Return the filter determining which target classes this introduction should apply to.voidCan the advised interfaces be implemented by the introduction advice?从接口继承的方法 infra.aop.Advisor
getAdvice, isPerInstance从接口继承的方法 infra.aop.IntroductionInfo
getInterfaces
-
方法详细资料
-
getClassFilter
ClassFilter getClassFilter()Return the filter determining which target classes this introduction should apply to.This represents the class part of a pointcut. Note that method matching doesn't make sense to introductions.
- 返回:
- the class filter
-
validateInterfaces
void validateInterfaces()Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor.- 抛出:
IllegalArgumentException- if the advised interfaces can't be implemented by the introduction advice
-