Top Description Fields Methods
org.springframework.aop

public Interface IntroductionAdvisor

extends Advisor, IntroductionInfo
Known Direct Implementers
org.springframework.aop.aspectj.DeclareParentsAdvisor, org.springframework.aop.support.DefaultIntroductionAdvisor

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
Since
04.04.2003
See Also
IntroductionInterceptor

Field Summary

Inherited from org.springframework.aop.Advisor:
EMPTY_ADVICE

Method Summary

Modifier and TypeMethod and Description
public ClassFilter

Returns:

the class filter
getClassFilter
()

Return the filter determining which target classes this introduction should apply to.

public void
validateInterfaces()

Can the advised interfaces be implemented by the introduction advice?

Inherited from org.springframework.aop.Advisor:
getAdviceisPerInstance
Inherited from org.springframework.aop.IntroductionInfo:
getInterfaces

Method Detail

getClassFilterback to summary
public ClassFilter getClassFilter()

Return the filter determining which target classes this introduction should apply to.

This represents the class part of a pointcut. Note that method matching doesn't make sense to introductions.

Returns:ClassFilter

the class filter

validateInterfacesback to summary
public void validateInterfaces() throws IllegalArgumentException

Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor.

Exceptions
IllegalArgumentException:
if the advised interfaces can't be implemented by the introduction advice