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.aspectj.annotation |
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
|
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.interceptor |
AOP-based solution for declarative caching demarcation.
|
org.springframework.cache.jcache.interceptor |
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
|
org.springframework.dao.annotation |
Annotation support for DAOs.
|
org.springframework.scheduling.annotation |
Java 5 annotation for asynchronous method execution.
|
org.springframework.transaction.interceptor |
AOP-based solution for declarative transaction demarcation.
|
Modifier and Type | Field and Description |
---|---|
static Pointcut |
Pointcut.TRUE
Canonical Pointcut instance that always matches.
|
Modifier and Type | Method and Description |
---|---|
Pointcut |
PointcutAdvisor.getPointcut()
Get the Pointcut that drives this advisor.
|
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 |
---|---|
Pointcut |
AbstractAspectJAdvice.buildSafePointcut()
Build a 'safe' pointcut that excludes the AspectJ advice method itself.
|
Pointcut |
AspectJPointcutAdvisor.getPointcut() |
Pointcut |
AspectJExpressionPointcutAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
AspectMetadata.getPerClausePointcut()
Return a Spring pointcut expression for a singleton aspect.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExpressionPointcut
Interface to be implemented by pointcuts that use String expressions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExpressionPointcut
Abstract superclass for expression pointcuts,
offering location and expression properties.
|
class |
AbstractRegexpMethodPointcut
Abstract base regular expression pointcut bean.
|
class |
ComposablePointcut
Convenient class for building up pointcuts.
|
class |
ControlFlowPointcut
Pointcut and method matcher for use in simple cflow-style pointcut.
|
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 |
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 | Field and Description |
---|---|
static Pointcut |
Pointcuts.GETTERS
Pointcut matching all bean property getters, in any class.
|
static Pointcut |
Pointcuts.SETTERS
Pointcut matching all bean property setters, in any class.
|
Modifier and Type | Method and Description |
---|---|
Pointcut |
DefaultPointcutAdvisor.getPointcut() |
Pointcut |
StaticMethodMatcherPointcutAdvisor.getPointcut() |
Pointcut |
RegexpMethodPointcutAdvisor.getPointcut()
Initialize the singleton Pointcut held within this Advisor.
|
Pointcut |
NameMatchMethodPointcutAdvisor.getPointcut() |
Pointcut |
DefaultBeanFactoryPointcutAdvisor.getPointcut() |
static Pointcut |
Pointcuts.intersection(Pointcut pc1,
Pointcut pc2)
Match all methods that both the given pointcuts match.
|
static Pointcut |
Pointcuts.union(Pointcut pc1,
Pointcut pc2)
Match all methods that either (or both) of the given pointcuts matches.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AopUtils.canApply(Pointcut pc,
java.lang.Class<?> targetClass)
Can the given pointcut apply at all on the given class?
|
static boolean |
AopUtils.canApply(Pointcut pc,
java.lang.Class<?> targetClass,
boolean hasIntroductions)
Can the given pointcut apply at all on the given class?
|
ComposablePointcut |
ComposablePointcut.intersection(Pointcut other)
Apply an intersection with the given Pointcut.
|
static Pointcut |
Pointcuts.intersection(Pointcut pc1,
Pointcut pc2)
Match all methods that both the given pointcuts match.
|
static boolean |
Pointcuts.matches(Pointcut pointcut,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
java.lang.Object... args)
Perform the least expensive check for a pointcut match.
|
void |
DefaultPointcutAdvisor.setPointcut(Pointcut pointcut)
Specify the pointcut targeting the advice.
|
void |
DefaultBeanFactoryPointcutAdvisor.setPointcut(Pointcut pointcut)
Specify the pointcut targeting the advice.
|
ComposablePointcut |
ComposablePointcut.union(Pointcut other)
Apply a union with the given Pointcut.
|
static Pointcut |
Pointcuts.union(Pointcut pc1,
Pointcut pc2)
Match all methods that either (or both) of the given pointcuts matches.
|
Constructor and Description |
---|
ComposablePointcut(Pointcut pointcut)
Create a ComposablePointcut based on the given Pointcut.
|
DefaultPointcutAdvisor(Pointcut pointcut,
Advice advice)
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationMatchingPointcut
|
Modifier and Type | Method and Description |
---|---|
Pointcut |
BeanFactoryCacheOperationSourceAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
void |
CacheProxyFactoryBean.setPointcut(Pointcut pointcut)
Set a pointcut, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
JCacheOperationSourcePointcut
A Pointcut that matches if the underlying
JCacheOperationSource
has an operation for a given method. |
Modifier and Type | Method and Description |
---|---|
Pointcut |
BeanFactoryJCacheOperationSourceAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
PersistenceExceptionTranslationAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
protected Pointcut |
AsyncAnnotationAdvisor.buildPointcut(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> asyncAnnotationTypes)
Calculate a pointcut for the given async annotation types, if any.
|
Pointcut |
AsyncAnnotationAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
TransactionAttributeSourceAdvisor.getPointcut() |
Pointcut |
BeanFactoryTransactionAttributeSourceAdvisor.getPointcut() |
Modifier and Type | Method and Description |
---|---|
void |
TransactionProxyFactoryBean.setPointcut(Pointcut pointcut)
Set a pointcut, i.e a bean that can cause conditional invocation
of the TransactionInterceptor depending on method and attributes passed.
|