Top Description Methods
org.springframework.aop

public Interface DynamicIntroductionAdvice

extends Advice
Known Direct Subinterfaces
org.springframework.aop.IntroductionInterceptor
Imports
org.aopalliance.aop.Advice

Subinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor. This is a fundamental AOP concept called introduction.

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.

Author
Rod Johnson
Since
1.1.1
See Also
IntroductionInfo, IntroductionAdvisor

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

whether the advice implements the specified interface
implementsInterface
(Class<?>
the interface to check
intf
)

Does this introduction advice implement the given interface?

Method Detail

implementsInterfaceback to summary
public boolean implementsInterface(Class<?> intf)

Does this introduction advice implement the given interface?

Parameters
intf:Class<?>

the interface to check

Returns:boolean

whether the advice implements the specified interface