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.
|
Java Source File Name | Type | Comment |
AbstractAspectJAdvice.java | Class | Base class for AOP Alliance
org.aopalliance.aop.Advice classes
wrapping an AspectJ aspect or an AspectJ-annotated advice method. |
AspectInstanceFactory.java | Interface | Interface implemented to provide an instance of an AspectJ aspect. |
AspectJAdviceParameterNameDiscoverer.java | Class | ParameterNameDiscoverer implementation that tries to deduce parameter names
for an advice method from the pointcut expression, returning, and throwing clauses.
If an unambiguous interpretation is not available, it returns null .
This class interprets arguments in the following way:
- If the first parameter of the method is of type
JoinPoint or
ProceedingJoinPoint , it is assumed to be for passing
thisJoinPoint to the advice, and the parameter name will
be assigned the value "thisJoinPoint" .
- If the first parameter of the method is of type
JoinPoint.StaticPart , it is assumed to be for passing
"thisJoinPointStaticPart" to the advice, and the parameter name
will be assigned the value "thisJoinPointStaticPart" .
- If a
AspectJAdviceParameterNameDiscoverer.setThrowingName(String) throwingName has been set, and
there are no unbound arguments of type
Throwable+ , then an
IllegalArgumentException is raised. |
AspectJAfterAdvice.java | Class | Spring AOP advice wrapping an AspectJ after advice method. |
AspectJAfterReturningAdvice.java | Class | Spring AOP advice wrapping an AspectJ after-returning advice method. |
AspectJAfterThrowingAdvice.java | Class | Spring AOP advice wrapping an AspectJ after-throwing advice method. |
AspectJAopUtils.java | Class | Utility methods for dealing with AspectJ advisors. |
AspectJAroundAdvice.java | Class | Spring AOP around advice (MethodInterceptor) that wraps
an AspectJ advice method. |
AspectJExpressionPointcut.java | Class | Spring
org.springframework.aop.Pointcut implementation
that uses the AspectJ weaver to evaluate a pointcut expression.
The pointcut expression value is an AspectJ expression. |
AspectJExpressionPointcutAdvisor.java | Class | Spring AOP Advisor that can be used for any AspectJ pointcut expression. |
AspectJMethodBeforeAdvice.java | Class | Spring AOP advice that wraps an AspectJ before method. |
AspectJPointcutAdvisor.java | Class | AspectJPointcutAdvisor that adapts an
AbstractAspectJAdvice to the
org.springframework.aop.PointcutAdvisor interface. |
AspectJPrecedenceInformation.java | Interface | Interface to be implemented by types that can supply the information
needed to sort advice/advisors by AspectJ's precedence rules. |
AspectJProxyUtils.java | Class | Utility methods for working with AspectJ proxies. |
AspectJWeaverMessageHandler.java | Class | Implementation of AspectJ's
IMessageHandler interface that
routes AspectJ weaving messages through the same logging system as the
regular Spring messages. |
DeclareParentsAdvisor.java | Class | Introduction advisor delegating to the given object. |
InstantiationModelAwarePointcutAdvisor.java | Interface | Interface to be implemented by Spring AOP Advisors wrapping AspectJ
aspects that may have a lazy initialization strategy. |
MethodInvocationProceedingJoinPoint.java | Class | Implementation of AspectJ ProceedingJoinPoint interface
wrapping an AOP Alliance MethodInvocation. |
RuntimeTestWalker.java | Class | This class encapsulates some AspectJ internal knowledge that should be
pushed back into the AspectJ project in a future release. |
SimpleAspectInstanceFactory.java | Class | Implementation of
AspectInstanceFactory that creates a new instance
of the specified aspect class for every
SimpleAspectInstanceFactory.getAspectInstance() call. |
SingletonAspectInstanceFactory.java | Class | Implementation of
AspectInstanceFactory that is backed by a
specified singleton object, returning the same instance for every
SingletonAspectInstanceFactory.getAspectInstance() call. |
TypePatternClassFilter.java | Class | Spring AOP
ClassFilter implementation using AspectJ type matching. |