java.lang.Object | ||
↳ | org.springframework.aop.support.AbstractExpressionPointcut | |
↳ | org.springframework.aop.aspectj.ConfluenceAspectJExpressionPointcut |
This is a duplicate of Spring's AspectJExpressionPointcut with customisations allowing the specification of a classloader to use when parsing pointcut expressions. This is needed in Confluence as the pointcut parser is expected to process classes from the plugin subsystem. These classes are not visible using the context class loader provided at context initialisation.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.ClassFilter
| |||||||||||
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new default ConfluenceAspectJExpressionPointcut using the current thread context classloader for class
resolution during pointcut processing.
| |||||||||||
Create a new ConfluenceAspectJExpressionPointcut using the provided classloader for class resolution during
pointcut match processing
| |||||||||||
Create a new AspectJExpressionPointcut with the given supported primitives.
| |||||||||||
Create a new AspectJExpressionPointcut with the given settings.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the underlying AspectJ pointcut expression.
| |||||||||||
Set the parameter names for the pointcut.
| |||||||||||
Set the parameter types for the pointcut.
| |||||||||||
Set the declaration scope for the pointcut.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.support.AbstractExpressionPointcut
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.ClassFilter
| |||||||||||
From interface
org.springframework.aop.IntroductionAwareMethodMatcher
| |||||||||||
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
| |||||||||||
From interface
org.springframework.aop.support.ExpressionPointcut
|
Create a new default ConfluenceAspectJExpressionPointcut using the current thread context classloader for class resolution during pointcut processing.
Create a new ConfluenceAspectJExpressionPointcut using the provided classloader for class resolution during pointcut match processing
classLoader | Classloader to use for class resolution during pointcut match processing |
---|
Create a new AspectJExpressionPointcut with the given supported primitives.
supportedPrimitives | Set of org.aspectj.weaver.tools.PointcutPrimitive instances |
---|---|
classLoader | Classloader to use for class resolution during pointcut match processing |
Create a new AspectJExpressionPointcut with the given settings.
declarationScope | the declaration scope for the pointcut |
---|---|
paramNames | the parameter names for the pointcut |
paramTypes | the parameter types for the pointcut |
Return the underlying AspectJ pointcut expression.
Set the declaration scope for the pointcut.