| |
|
| java.lang.Object org.springframework.aop.support.ComposablePointcut
ComposablePointcut | public class ComposablePointcut implements Pointcut,Serializable(Code) | | 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);
author: Rod Johnson author: Juergen Hoeller author: Rob Harrop since: 11.11.2003 See Also: Pointcuts |
ComposablePointcut | public ComposablePointcut()(Code) | | Create a default ComposablePointcut, with ClassFilter.TRUE
and MethodMatcher.TRUE .
|
ComposablePointcut | public ComposablePointcut(Pointcut pointcut)(Code) | | Create a ComposablePointcut based on the given Pointcut.
Parameters: pointcut - the original Pointcut |
ComposablePointcut | public ComposablePointcut(ClassFilter classFilter)(Code) | | Create a ComposablePointcut for the given ClassFilter,
with MethodMatcher.TRUE .
Parameters: classFilter - the ClassFilter to use |
ComposablePointcut | public ComposablePointcut(MethodMatcher methodMatcher)(Code) | | Create a ComposablePointcut for the given MethodMatcher,
with ClassFilter.TRUE .
Parameters: methodMatcher - the MethodMatcher to use |
ComposablePointcut | public ComposablePointcut(ClassFilter classFilter, MethodMatcher methodMatcher)(Code) | | Create a ComposablePointcut for the given ClassFilter and MethodMatcher.
Parameters: classFilter - the ClassFilter to use Parameters: methodMatcher - the MethodMatcher to use |
hashCode | public int hashCode()(Code) | | |
intersection | public ComposablePointcut intersection(ClassFilter other)(Code) | | Apply an intersection with the given ClassFilter.
Parameters: other - the ClassFilter to apply an intersection with this composable pointcut (for call chaining) |
intersection | public ComposablePointcut intersection(MethodMatcher other)(Code) | | Apply an intersection with the given MethodMatcher.
Parameters: other - the MethodMatcher to apply an intersection with this composable pointcut (for call chaining) |
intersection | public ComposablePointcut intersection(Pointcut other)(Code) | | Apply an intersection with the given Pointcut.
Parameters: other - the Pointcut to apply an intersection with this composable pointcut (for call chaining) |
union | public ComposablePointcut union(ClassFilter other)(Code) | | Apply a union with the given ClassFilter.
Parameters: other - the ClassFilter to apply a union with this composable pointcut (for call chaining) |
union | public ComposablePointcut union(MethodMatcher other)(Code) | | Apply a union with the given MethodMatcher.
Parameters: other - the MethodMatcher to apply a union with this composable pointcut (for call chaining) |
union | public ComposablePointcut union(Pointcut other)(Code) | | 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.
Parameters: other - the Pointcut to apply a union with this composable pointcut (for call chaining) |
|
|
|