Package | Description |
---|---|
org.springframework.aop |
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
|
org.springframework.aop.aspectj |
AspectJ integration package.
|
org.springframework.aop.support |
Convenience classes for using Spring's AOP API.
|
org.springframework.aop.support.annotation |
Annotation support for AOP pointcuts.
|
org.springframework.cache.jcache.interceptor |
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IntroductionAwareMethodMatcher
A specialized type of
MethodMatcher that takes into account introductions
when matching methods. |
Modifier and Type | Field and Description |
---|---|
static MethodMatcher |
MethodMatcher.TRUE
Canonical instance that matches all methods.
|
Modifier and Type | Method and Description |
---|---|
MethodMatcher |
Pointcut.getMethodMatcher()
Return the MethodMatcher for this pointcut.
|
Modifier and Type | Class and Description |
---|---|
class |
AspectJExpressionPointcut
Spring
Pointcut implementation
that uses the AspectJ weaver to evaluate a pointcut expression. |
Modifier and Type | Method and Description |
---|---|
MethodMatcher |
AspectJExpressionPointcut.getMethodMatcher() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRegexpMethodPointcut
Abstract base regular expression pointcut bean.
|
class |
ControlFlowPointcut
Pointcut and method matcher for use in simple cflow-style pointcut.
|
class |
DynamicMethodMatcher
Convenient abstract superclass for dynamic method matchers,
which do care about arguments at runtime.
|
class |
DynamicMethodMatcherPointcut
Convenient superclass when we want to force subclasses to
implement MethodMatcher interface, but subclasses
will want to be pointcuts.
|
class |
JdkRegexpMethodPointcut
Regular expression pointcut based on the
java.util.regex package. |
class |
NameMatchMethodPointcut
Pointcut bean for simple method name matches, as alternative to regexp patterns.
|
class |
StaticMethodMatcher
Convenient abstract superclass for static method matchers, which don't care
about arguments at runtime.
|
class |
StaticMethodMatcherPointcut
Convenient superclass when we want to force subclasses to implement the
MethodMatcher interface but subclasses will want to be pointcuts. |
class |
StaticMethodMatcherPointcutAdvisor
Convenient base class for Advisors that are also static pointcuts.
|
Modifier and Type | Method and Description |
---|---|
MethodMatcher |
ComposablePointcut.getMethodMatcher() |
MethodMatcher |
ControlFlowPointcut.getMethodMatcher() |
MethodMatcher |
StaticMethodMatcherPointcut.getMethodMatcher() |
MethodMatcher |
DynamicMethodMatcherPointcut.getMethodMatcher() |
static MethodMatcher |
MethodMatchers.intersection(MethodMatcher mm1,
MethodMatcher mm2)
Match all methods that both of the given MethodMatchers match.
|
static MethodMatcher |
MethodMatchers.union(MethodMatcher mm1,
MethodMatcher mm2)
Match all methods that either (or both) of the given MethodMatchers matches.
|
Modifier and Type | Method and Description |
---|---|
ComposablePointcut |
ComposablePointcut.intersection(MethodMatcher other)
Apply an intersection with the given MethodMatcher.
|
static MethodMatcher |
MethodMatchers.intersection(MethodMatcher mm1,
MethodMatcher mm2)
Match all methods that both of the given MethodMatchers match.
|
static boolean |
MethodMatchers.matches(MethodMatcher mm,
Method method,
Class<?> targetClass,
boolean hasIntroductions)
Apply the given MethodMatcher to the given Method, supporting an
IntroductionAwareMethodMatcher
(if applicable). |
ComposablePointcut |
ComposablePointcut.union(MethodMatcher other)
Apply a union with the given MethodMatcher.
|
static MethodMatcher |
MethodMatchers.union(MethodMatcher mm1,
MethodMatcher mm2)
Match all methods that either (or both) of the given MethodMatchers matches.
|
Constructor and Description |
---|
ComposablePointcut(ClassFilter classFilter,
MethodMatcher methodMatcher)
Create a ComposablePointcut for the given ClassFilter and MethodMatcher.
|
ComposablePointcut(MethodMatcher methodMatcher)
Create a ComposablePointcut for the given MethodMatcher,
with
ClassFilter.TRUE . |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationMethodMatcher
Simple MethodMatcher that looks for a specific Java 5 annotation
being present on a method (checking both the method on the invoked
interface, if any, and the corresponding method on the target class).
|
Modifier and Type | Method and Description |
---|---|
MethodMatcher |
AnnotationMatchingPointcut.getMethodMatcher() |
Modifier and Type | Class and Description |
---|---|
class |
JCacheOperationSourcePointcut
A Pointcut that matches if the underlying
JCacheOperationSource
has an operation for a given method. |