程序包 org.springframework.aop.aspectj
AspectJ integration package. Includes Spring AOP advice implementations for AspectJ 5 annotation-style methods, and an AspectJExpressionPointcut: a Spring AOP Pointcut implementation that allows use of the AspectJ pointcut expression language with the Spring AOP runtime framework.
Note that use of this package does not require the use of the ajc
compiler or AspectJ load-time weaver. It is intended to enable the use of a valuable subset of AspectJ functionality, with consistent semantics, with the proxy-based Spring AOP framework.
接口概要 接口 说明 AspectInstanceFactory Interface implemented to provide an instance of an AspectJ aspect.AspectJPrecedenceInformation Interface to be implemented by types that can supply the information needed to sort advice/advisors by AspectJ's precedence rules.InstantiationModelAwarePointcutAdvisor Interface to be implemented by Spring AOP Advisors wrapping AspectJ aspects that may have a lazy initialization strategy.类概要 类 说明 AbstractAspectJAdvice Base class for AOP AllianceAdvice
classes wrapping an AspectJ aspect or an AspectJ-annotated advice method.AspectJAdviceParameterNameDiscoverer ParameterNameDiscoverer
implementation that tries to deduce parameter names for an advice method from the pointcut expression, returning, and throwing clauses.AspectJAfterAdvice Spring AOP advice wrapping an AspectJ after advice method.AspectJAfterReturningAdvice Spring AOP advice wrapping an AspectJ after-returning advice method.AspectJAfterThrowingAdvice Spring AOP advice wrapping an AspectJ after-throwing advice method.AspectJAopUtils Utility methods for dealing with AspectJ advisors.AspectJAroundAdvice Spring AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.AspectJExpressionPointcut SpringPointcut
implementation that uses the AspectJ weaver to evaluate a pointcut expression.AspectJExpressionPointcutAdvisor Spring AOP Advisor that can be used for any AspectJ pointcut expression.AspectJMethodBeforeAdvice Spring AOP advice that wraps an AspectJ before method.AspectJPointcutAdvisor AspectJPointcutAdvisor that adapts anAbstractAspectJAdvice
to thePointcutAdvisor
interface.AspectJProxyUtils Utility methods for working with AspectJ proxies.AspectJWeaverMessageHandler Implementation of AspectJ'sIMessageHandler
interface that routes AspectJ weaving messages through the same logging system as the regular Spring messages.DeclareParentsAdvisor Introduction advisor delegating to the given object.MethodInvocationProceedingJoinPoint An implementation of the AspectJProceedingJoinPoint
interface wrapping an AOP AllianceMethodInvocation
.SimpleAspectInstanceFactory Implementation ofAspectInstanceFactory
that creates a new instance of the specified aspect class for everySimpleAspectInstanceFactory.getAspectInstance()
call.SingletonAspectInstanceFactory Implementation ofAspectInstanceFactory
that is backed by a specified singleton object, returning the same instance for everySingletonAspectInstanceFactory.getAspectInstance()
call.TypePatternClassFilter Spring AOPClassFilter
implementation using AspectJ type matching.异常错误概要 异常错误 说明 AspectJAdviceParameterNameDiscoverer.AmbiguousBindingException Thrown in response to an ambiguous binding being detected when trying to resolve a method's parameter names.