Uses of Interface
org.aopalliance.aop.Advice
Package
Description
The AOP Alliance reflective interception abstraction.
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
SPI package allowing Spring AOP framework to handle arbitrary advice types.
Provides miscellaneous interceptor implementations.
Convenience classes for using Spring's AOP API.
-
Uses of Advice in org.aopalliance.intercept
Modifier and TypeInterfaceDescriptioninterface
Intercepts the construction of a new object.interface
This interface represents a generic interceptor.interface
Intercepts calls on an interface on its way to the target. -
Uses of Advice in org.springframework.aop
Modifier and TypeInterfaceDescriptioninterface
Common marker interface for after advice, such asAfterReturningAdvice
andThrowsAdvice
.interface
After returning advice is invoked only on normal method return, not if an exception is thrown.interface
Common marker interface for before advice, such asMethodBeforeAdvice
.interface
Subinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor.interface
Subinterface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.interface
Advice invoked before a method is invoked.interface
Tag interface for throws advice.Modifier and TypeFieldDescriptionstatic final Advice
Advisor.EMPTY_ADVICE
Common placeholder for an emptyAdvice
to be returned fromAdvisor.getAdvice()
if no proper advice has been configured (yet). -
Uses of Advice in org.springframework.aop.aspectj
Modifier and TypeClassDescriptionclass
Base class for AOP AllianceAdvice
classes wrapping an AspectJ aspect or an AspectJ-annotated advice method.class
Spring AOP advice wrapping an AspectJ after advice method.class
Spring AOP advice wrapping an AspectJ after-returning advice method.class
Spring AOP advice wrapping an AspectJ after-throwing advice method.class
Spring AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.class
Spring AOP advice that wraps an AspectJ before method. -
Uses of Advice in org.springframework.aop.aspectj.annotation
Modifier and TypeMethodDescriptionAspectJAdvisorFactory.getAdvice
(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advice for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvice
(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) -
Uses of Advice in org.springframework.aop.framework
Modifier and TypeMethodDescriptionvoid
Add the given AOP Alliance Advice at the specified position in the advice chain.void
Add the given AOP Alliance advice to the tail of the advice (interceptor) chain.void
Cannot add introductions this way unless the advice implements IntroductionInfo.void
boolean
AdvisedSupport.adviceIncluded
(Advice advice) Is the given advice included in any advisor within this proxy configuration?int
Return the index (from 0) of the given AOP Alliance Advice, or -1 if no such advice is an advice for this proxy.int
boolean
Advised.removeAdvice
(Advice advice) Remove the Advisor containing the given advice.boolean
AdvisedSupport.removeAdvice
(Advice advice) -
Uses of Advice in org.springframework.aop.framework.adapter
Modifier and TypeClassDescriptionclass
Interceptor to wrap anAfterReturningAdvice
.class
Interceptor to wrap aMethodBeforeAdvice
.class
Interceptor to wrap an after-throwing advice.Modifier and TypeMethodDescriptionboolean
AdvisorAdapter.supportsAdvice
(Advice advice) Does this adapter understand this advice object? Is it valid to invoke thegetInterceptors
method with an Advisor that contains this advice as an argument? -
Uses of Advice in org.springframework.aop.interceptor
Modifier and TypeClassDescriptionclass
Base class for monitoring interceptors, such as performance monitors.class
BaseMethodInterceptor
implementation for tracing.class
AOP AllianceMethodInterceptor
that processes method invocations asynchronously, using a givenAsyncTaskExecutor
.class
Interceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached.class
MethodInterceptor
implementation that allows for highly customizable method-level tracing, using placeholders.class
AOP AllianceMethodInterceptor
that can be introduced in a chain to display verbose information about intercepted invocations to the logger.final class
Interceptor that exposes the currentMethodInvocation
as a thread-local object.class
Simple AOP AllianceMethodInterceptor
for performance monitoring.class
Simple AOP AllianceMethodInterceptor
that can be introduced in a chain to display verbose trace information about intercepted method invocations, with method entry and method exit info. -
Uses of Advice in org.springframework.aop.support
Modifier and TypeClassDescriptionclass
Convenient implementation of theIntroductionInterceptor
interface.class
Convenient implementation of theIntroductionInterceptor
interface.Modifier and TypeMethodDescriptionAbstractBeanFactoryPointcutAdvisor.getAdvice()
AbstractGenericPointcutAdvisor.getAdvice()
DefaultIntroductionAdvisor.getAdvice()
StaticMethodMatcherPointcutAdvisor.getAdvice()
Modifier and TypeMethodDescriptionvoid
Specify a particular instance of the target advice directly, avoiding lazy resolution inAbstractBeanFactoryPointcutAdvisor.getAdvice()
.void
Specify the advice that this advisor should apply.void
ModifierConstructorDescriptionDefaultIntroductionAdvisor
(Advice advice) Create a DefaultIntroductionAdvisor for the given advice.DefaultIntroductionAdvisor
(Advice advice, IntroductionInfo introductionInfo) Create a DefaultIntroductionAdvisor for the given advice.DefaultPointcutAdvisor
(Advice advice) Create a DefaultPointcutAdvisor that matches all methods.DefaultPointcutAdvisor
(Pointcut pointcut, Advice advice) Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.NameMatchMethodPointcutAdvisor
(Advice advice) RegexpMethodPointcutAdvisor
(String[] patterns, Advice advice) Create a RegexpMethodPointcutAdvisor for the given advice.RegexpMethodPointcutAdvisor
(String pattern, Advice advice) Create a RegexpMethodPointcutAdvisor for the given advice.RegexpMethodPointcutAdvisor
(Advice advice) Create a RegexpMethodPointcutAdvisor for the given advice.Create a new StaticMethodMatcherPointcutAdvisor for the given advice.