接口 IntroductionAdvisor
- 所有超级接口:
Advisor
,IntroductionInfo
public interface IntroductionAdvisor extends 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.
- 从以下版本开始:
- 04.04.2003
- 作者:
- Rod Johnson
- 另请参阅:
IntroductionInterceptor
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ClassFilter
getClassFilter()
Return the filter determining which target classes this introduction should apply to.void
validateInterfaces()
Can the advised interfaces be implemented by the introduction advice?从接口继承的方法 org.springframework.aop.Advisor
getAdvice, isPerInstance
从接口继承的方法 org.springframework.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() throws IllegalArgumentException
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