org.springframework.aop
Interface IntroductionAdvisor
- All Superinterfaces:
- Advisor
- All Known Implementing Classes:
- DefaultIntroductionAdvisor
- 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.
- Since:
- 04-Apr-2003
- Version:
- $Id: IntroductionAdvisor.java,v 1.3 2004/03/18 02:46:07 trisberg Exp $
- Author:
- Rod Johnson
- See Also:
IntroductionInterceptor
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 java.lang.Class[] getInterfaces()
- Returns:
- the additional interfaces introduced by this Advisor
validateInterfaces
public void validateInterfaces()
throws 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
Copyright (C) 2003-2004 The Spring Framework Project.