Top Description Fields Constructors Methods
org.springframework.aop.support

public abstract Class AbstractGenericPointcutAdvisor

extends AbstractPointcutAdvisor
Class Inheritance
Known Direct Subclasses
org.springframework.aop.support.DefaultPointcutAdvisor, org.springframework.aop.support.NameMatchMethodPointcutAdvisor, org.springframework.aop.support.RegexpMethodPointcutAdvisor, org.springframework.aop.aspectj.AspectJExpressionPointcutAdvisor
Annotations
@SuppressWarnings:serial
Imports
org.aopalliance.aop.Advice

Abstract generic org.springframework.aop.PointcutAdvisor that allows for any Advice to be configured.
Author
Juergen Hoeller
Since
2.0
See Also
setAdvice, DefaultPointcutAdvisor

Field Summary

Modifier and TypeField and Description
private Advice

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Advice
getAdvice()

Implements org.springframework.aop.Advisor.getAdvice.

Return the advice part of this aspect.
public void
setAdvice(Advice advice)

Specify the advice that this advisor should apply.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.springframework.aop.support.AbstractPointcutAdvisor:
equalsgetOrderhashCodesetOrder

Field Detail

adviceback to summary
private Advice advice

Constructor Detail

AbstractGenericPointcutAdvisorback to summary
public AbstractGenericPointcutAdvisor()

Method Detail

getAdviceback to summary
public Advice getAdvice()

Implements org.springframework.aop.Advisor.getAdvice.

Doc from org.springframework.aop.Advisor.getAdvice.

Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc.

Returns:Advice

the advice that should apply if the pointcut matches

Annotations
@Override
setAdviceback to summary
public void setAdvice(Advice advice)

Specify the advice that this advisor should apply.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override