| java.lang.Object | |
| ↳ | org.springframework.aop.support.ComposablePointcut |
Convenient class for building up pointcuts. All methods return
ComposablePointcut, so we can use a concise idiom like:
Pointcut pc = new ComposablePointcut().union(classFilter).intersection(methodMatcher).intersection(pointcut);
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.Pointcut
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a default ComposablePointcut, with
ClassFilter.TRUE
and MethodMatcher.TRUE. | |||||||||||
Create a ComposablePointcut based on the given Pointcut.
| |||||||||||
Create a ComposablePointcut for the given ClassFilter,
with
MethodMatcher.TRUE. | |||||||||||
Create a ComposablePointcut for the given MethodMatcher,
with
ClassFilter.TRUE. | |||||||||||
Create a ComposablePointcut for the given ClassFilter and MethodMatcher.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the ClassFilter for this pointcut.
| |||||||||||
Return the MethodMatcher for this pointcut.
| |||||||||||
Apply an intersection with the given ClassFilter.
| |||||||||||
Apply an intersection with the given Pointcut.
| |||||||||||
Apply an intersection with the given MethodMatcher.
| |||||||||||
Apply a union with the given MethodMatcher.
| |||||||||||
Apply a union with the given Pointcut.
| |||||||||||
Apply a union with the given ClassFilter.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Pointcut
| |||||||||||
Create a default ComposablePointcut, with ClassFilter.TRUE
and MethodMatcher.TRUE.
Create a ComposablePointcut based on the given Pointcut.
| pointcut | the original Pointcut |
|---|
Create a ComposablePointcut for the given ClassFilter,
with MethodMatcher.TRUE.
| classFilter | the ClassFilter to use |
|---|
Create a ComposablePointcut for the given MethodMatcher,
with ClassFilter.TRUE.
| methodMatcher | the MethodMatcher to use |
|---|
Create a ComposablePointcut for the given ClassFilter and MethodMatcher.
| classFilter | the ClassFilter to use |
|---|---|
| methodMatcher | the MethodMatcher to use |
Return the ClassFilter for this pointcut.
null)
Return the MethodMatcher for this pointcut.
null)
Apply an intersection with the given ClassFilter.
| other | the ClassFilter to apply an intersection with |
|---|
Apply an intersection with the given Pointcut.
| other | the Pointcut to apply an intersection with |
|---|
Apply an intersection with the given MethodMatcher.
| other | the MethodMatcher to apply an intersection with |
|---|
Apply a union with the given MethodMatcher.
| other | the MethodMatcher to apply a union with |
|---|
Apply a union with the given Pointcut.
Note that for a Pointcut union, methods will only match if their original ClassFilter (from the originating Pointcut) matches as well. MethodMatchers and ClassFilters from different Pointcuts will never get interleaved with each other.
| other | the Pointcut to apply a union with |
|---|
Apply a union with the given ClassFilter.
| other | the ClassFilter to apply a union with |
|---|