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.
Author
Rob Harrop
Author
Adrian Colyer
Author
Rod Johnson
Author
Juergen Hoeller
Author
Ramnivas Laddad
Author
Dave Syer
Since
2.0
AspectJExpressionPointcut()
Create a new default AspectJExpressionPointcut. AspectJExpressionPointcut(declarationScope: Class<*>, paramNames: Array<String>, paramTypes: Array<Class<*>>)
Create a new AspectJExpressionPointcut with the given settings. |
open fun equals(other: Any?): Boolean |
|
open fun getClassFilter(): ClassFilter |
|
open fun getMethodMatcher(): MethodMatcher |
|
open fun getPointcutExpression(): PointcutExpression
Return the underlying AspectJ pointcut expression. |
|
open fun hashCode(): Int |
|
open fun isRuntime(): Boolean |
|
open fun matches(targetClass: Class<*>): Boolean open fun matches(method: Method, targetClass: Class<*>, beanHasIntroductions: Boolean): Boolean open fun matches(method: Method, targetClass: Class<*>): Boolean open fun matches(method: Method, targetClass: Class<*>, vararg args: Any): Boolean |
|
open fun setBeanFactory(beanFactory: BeanFactory): Unit |
|
open fun setParameterNames(vararg names: String): Unit
Set the parameter names for the pointcut. |
|
open fun setParameterTypes(vararg types: Class<*>): Unit
Set the parameter types for the pointcut. |
|
open fun setPointcutDeclarationScope(pointcutDeclarationScope: Class<*>): Unit
Set the declaration scope for the pointcut. |
|
open fun toString(): String |
open fun getExpression(): String
Return this pointcut's expression. |
|
open fun getLocation(): String
Return location information about the pointcut expression if available. This is useful in debugging. |
|
open fun setExpression(expression: String): Unit |
|
open fun setLocation(location: String): Unit
Set the location for debugging. |