public interface IntroductionAdvisor extends Advisor, IntroductionInfo
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.
IntroductionInterceptor
EMPTY_ADVICE
Modifier and Type | Method and Description |
---|---|
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?
Invoked before adding an IntroductionAdvisor.
|
getAdvice, isPerInstance
getInterfaces
ClassFilter getClassFilter()
This represents the class part of a pointcut. Note that method matching doesn't make sense to introductions.
void validateInterfaces() throws IllegalArgumentException
IllegalArgumentException
- if the advised interfaces can't be
implemented by the introduction advice