Convenient implementation of the IntroductionInterceptor interface.
Subclasses merely need to extend this class and implement the interfaces
to be introduced themselves. In this case the delegate is the subclass
instance itself. Alternatively a separate delegate may implement the
interface, and be set via the delegate bean property.
Delegates or subclasses may implement any number of interfaces.
All interfaces except IntroductionInterceptor are picked up from
the subclass or delegate by default.
The suppressInterface method can be used to suppress interfaces
implemented by the delegate but which should not be introduced to the owning
AOP proxy.
A DelegatingIntroductionInterceptor is serializable if the delegate is.
Subclasses merely need to extend this class and implement the interfaces to be introduced themselves. In this case the delegate is the subclass instance itself. Alternatively a separate delegate may implement the interface, and be set via the delegate bean property.
Delegates or subclasses may implement any number of interfaces. All interfaces except IntroductionInterceptor are picked up from the subclass or delegate by default.
The
suppressInterfacemethod can be used to suppress interfaces implemented by the delegate but which should not be introduced to the owning AOP proxy.A DelegatingIntroductionInterceptor is serializable if the delegate is.