org.springframework.aop
Interface IntroductionAdvisor

All Known Subinterfaces:
InterceptionIntroductionAdvisor

public interface IntroductionAdvisor
extends Advisor

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.

Author:
Rod Johnson
Version: $Id: IntroductionAdvisor.java,v 1.2 2004/01/21 20:21:35 johnsonr Exp $
Since: 04-Apr-2003
See Also: IntroductionInterceptor

Method Summary
 ClassFiltergetClassFilter()
           
 Class[]getInterfaces()
           
 voidvalidateInterfaces()
          Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor.

Methods inherited from interface org.springframework.aop.Advisor
isPerInstance

Method Detail

getClassFilter

public ClassFilter getClassFilter()
Returns: the filter determining which target classes this introduction should apply to. The class part of a pointcut. Note that method matching doesn't make sense to introductions.

getInterfaces

public Class[] getInterfaces()
Returns: the additional interfaces introduced by this Advisor

validateInterfaces

public void validateInterfaces()
throws org.springframework.aop.framework.AopConfigException
Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor.
Throws:
AopConfigException - if the advised interfaces can't be implemented by the introduction advice