程序包 infra.aop.aspectj
@NonNullApi
@NonNullFields
package infra.aop.aspectj
AspectJ integration package. Includes Framework AOP advice implementations for AspectJ 5
annotation-style methods, and an AspectJExpressionPointcut: a Framework AOP Pointcut
implementation that allows use of the AspectJ pointcut expression language with the Framework 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 Framework AOP framework.
-
类说明Base class for AOP Alliance
Adviceclasses wrapping an AspectJ aspect or an AspectJ-annotated advice method.MethodMatcher that excludes the specified advice method.Interface implemented to provide an instance of an AspectJ aspect.ParameterNameDiscovererimplementation that tries to deduce parameter names for an advice method from the pointcut expression, returning, and throwing clauses.Thrown in response to an ambiguous binding being detected when trying to resolve a method's parameter names.Simple struct to hold the extracted text from a pointcut body, together with the number of tokens consumed in extracting it.Framework AOP advice wrapping an AspectJ after advice method.Framework AOP advice wrapping an AspectJ after-returning advice method.Framework AOP advice wrapping an AspectJ after-throwing advice method.Utility methods for dealing with AspectJ advisors.Framework AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.FrameworkPointcutimplementation that uses the AspectJ weaver to evaluate a pointcut expression.Framework AOP Advisor that can be used for any AspectJ pointcut expression.Framework AOP advice that wraps an AspectJ before method.AspectJPointcutAdvisor that adapts anAbstractAspectJAdviceto thePointcutAdvisorinterface.Interface to be implemented by types that can supply the information needed to sort advice/advisors by AspectJ's precedence rules.Utility methods for working with AspectJ proxies.Implementation of AspectJ'sIMessageHandlerinterface that routes AspectJ weaving messages through the same logging system as the regular Framework messages.Introduction advisor delegating to the given object.Interface to be implemented by Framework AOP Advisors wrapping AspectJ aspects that may have a lazy initialization strategy.An implementation of the AspectJProceedingJoinPointinterface wrapping an AOP AllianceMethodInvocation.This class encapsulates some AspectJ internal knowledge that should be pushed back into the AspectJ project in a future release.Check if residue of target(TYPE) kind.Check if residue of this(TYPE) kind.InternalShadowMatchutilities.Implementation ofAspectInstanceFactorythat creates a new instance of the specified aspect class for everySimpleAspectInstanceFactory.getAspectInstance()call.Implementation ofAspectInstanceFactorythat is backed by a specified singleton object, returning the same instance for everySingletonAspectInstanceFactory.getAspectInstance()call.Framework AOPClassFilterimplementation using AspectJ type matching.