public interface DynamicIntroductionAdvice extends Advice
Introductions are often mixins, enabling the building of composite objects that can achieve many of the goals of multiple inheritance in Java.
Compared to IntroductionInfo, this interface allows an advice to
implement a range of interfaces that is not necessarily known in advance.
Thus an IntroductionAdvisor can be used to specify which interfaces
will be exposed in an advised object.
IntroductionInfo,
IntroductionAdvisor| Modifier and Type | Method and Description |
|---|---|
boolean |
implementsInterface(Class<?> intf)
Does this introduction advice implement the given interface?
|
boolean implementsInterface(Class<?> intf)
intf - the interface to check