spring-framework / org.springframework.aop.support / AbstractExpressionPointcut

AbstractExpressionPointcut

abstract class AbstractExpressionPointcut : ExpressionPointcut, Serializable

Abstract superclass for expression pointcuts, offering location and expression properties.

Author
Rod Johnson

Author
Rob Harrop

Since
2.0

See Also
#setLocation#setExpression

Constructors

<init>

AbstractExpressionPointcut()

Abstract superclass for expression pointcuts, offering location and expression properties.

Functions

getExpression

open fun getExpression(): String

Return this pointcut's expression.

getLocation

open fun getLocation(): String

Return location information about the pointcut expression if available. This is useful in debugging.

setExpression

open fun setExpression(expression: String): Unit

setLocation

open fun setLocation(location: String): Unit

Set the location for debugging.

Inheritors

AspectJExpressionPointcut

open class AspectJExpressionPointcut : AbstractExpressionPointcut, ClassFilter, IntroductionAwareMethodMatcher, BeanFactoryAware

Spring org.springframework.aop.Pointcut implementation that uses the AspectJ weaver to evaluate a pointcut expression.

The pointcut expression value is an AspectJ expression. This can reference other pointcuts and use composition and other operations.

Naturally, as this is to be processed by Spring AOP's proxy-based model, only method execution pointcuts are supported.