| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static ClassFilter |
ClassFilter.TRUE
Canonical instance of a ClassFilter that matches all classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClassFilter |
IntroductionAdvisor.getClassFilter()
Return the filter determining which target classes this introduction
should apply to.
|
ClassFilter |
Pointcut.getClassFilter()
Return the ClassFilter for this pointcut.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AspectJExpressionPointcut
Spring
Pointcut implementation
that uses the AspectJ weaver to evaluate a pointcut expression. |
class |
TypePatternClassFilter
Spring AOP
ClassFilter implementation using AspectJ type matching. |
| 限定符和类型 | 方法和说明 |
|---|---|
ClassFilter |
AspectJExpressionPointcut.getClassFilter() |
ClassFilter |
DeclareParentsAdvisor.getClassFilter() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ControlFlowPointcut
Pointcut and method matcher for use in simple cflow-style pointcut.
|
class |
DefaultIntroductionAdvisor
Simple
IntroductionAdvisor implementation
that by default applies to any class. |
class |
RootClassFilter
Simple ClassFilter implementation that passes classes (and optionally subclasses).
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClassFilter |
ComposablePointcut.getClassFilter() |
ClassFilter |
ControlFlowPointcut.getClassFilter() |
ClassFilter |
DefaultIntroductionAdvisor.getClassFilter() |
ClassFilter |
DynamicMethodMatcherPointcut.getClassFilter() |
ClassFilter |
StaticMethodMatcherPointcut.getClassFilter() |
static ClassFilter |
ClassFilters.intersection(ClassFilter[] classFilters)
Match all classes that all of the given ClassFilters match.
|
static ClassFilter |
ClassFilters.intersection(ClassFilter cf1,
ClassFilter cf2)
Match all classes that both of the given ClassFilters match.
|
static ClassFilter |
ClassFilters.union(ClassFilter[] classFilters)
Match all classes that either (or all) of the given ClassFilters matches.
|
static ClassFilter |
ClassFilters.union(ClassFilter cf1,
ClassFilter cf2)
Match all classes that either (or both) of the given ClassFilters matches.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ComposablePointcut |
ComposablePointcut.intersection(ClassFilter other)
Apply an intersection with the given ClassFilter.
|
static ClassFilter |
ClassFilters.intersection(ClassFilter[] classFilters)
Match all classes that all of the given ClassFilters match.
|
static ClassFilter |
ClassFilters.intersection(ClassFilter cf1,
ClassFilter cf2)
Match all classes that both of the given ClassFilters match.
|
void |
NameMatchMethodPointcutAdvisor.setClassFilter(ClassFilter classFilter)
Set the
ClassFilter to use for this pointcut. |
void |
StaticMethodMatcherPointcut.setClassFilter(ClassFilter classFilter)
Set the
ClassFilter to use for this pointcut. |
ComposablePointcut |
ComposablePointcut.union(ClassFilter other)
Apply a union with the given ClassFilter.
|
static ClassFilter |
ClassFilters.union(ClassFilter[] classFilters)
Match all classes that either (or all) of the given ClassFilters matches.
|
static ClassFilter |
ClassFilters.union(ClassFilter cf1,
ClassFilter cf2)
Match all classes that either (or both) of the given ClassFilters matches.
|
| 构造器和说明 |
|---|
ComposablePointcut(ClassFilter classFilter)
Create a ComposablePointcut for the given ClassFilter,
with
MethodMatcher.TRUE. |
ComposablePointcut(ClassFilter classFilter,
MethodMatcher methodMatcher)
Create a ComposablePointcut for the given ClassFilter and MethodMatcher.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AnnotationClassFilter
Simple ClassFilter that looks for a specific Java 5 annotation
being present on a class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClassFilter |
AnnotationMatchingPointcut.getClassFilter() |