Uses of Interface
org.aopalliance.aop.Advice
Packages that use 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.
AOP-based solution for declarative caching demarcation.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
Support classes for application events, like standard context events.
Annotation support for DAOs.
Support classes for DAO implementations,
providing miscellaneous utility methods.
Provides support for accessing remote MBean resources.
A retry interceptor arrangement based on
core.retry and Reactor.Annotation support for asynchronous method execution.
AOP-based solution for declarative transaction demarcation.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
-
Uses of Advice in org.aopalliance.intercept
Subinterfaces of Advice in org.aopalliance.interceptModifier and TypeInterfaceDescriptioninterfaceIntercepts the construction of a new object.interfaceThis interface represents a generic interceptor.interfaceIntercepts calls on an interface on its way to the target. -
Uses of Advice in org.springframework.aop
Subinterfaces of Advice in org.springframework.aopModifier and TypeInterfaceDescriptioninterfaceCommon marker interface for after advice, such asAfterReturningAdviceandThrowsAdvice.interfaceAfter returning advice is invoked only on normal method return, not if an exception is thrown.interfaceCommon marker interface for before advice, such asMethodBeforeAdvice.interfaceSubinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor.interfaceSubinterface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.interfaceAdvice invoked before a method is invoked.interfaceTag interface for throws advice.Fields in org.springframework.aop declared as AdviceModifier and TypeFieldDescriptionstatic final AdviceAdvisor.EMPTY_ADVICECommon placeholder for an emptyAdviceto be returned fromAdvisor.getAdvice()if no proper advice has been configured (yet).Methods in org.springframework.aop that return Advice -
Uses of Advice in org.springframework.aop.aspectj
Classes in org.springframework.aop.aspectj that implement AdviceModifier and TypeClassDescriptionclassBase class for AOP AllianceAdviceclasses wrapping an AspectJ aspect or an AspectJ-annotated advice method.classSpring AOP advice wrapping an AspectJ after advice method.classSpring AOP advice wrapping an AspectJ after-returning advice method.classSpring AOP advice wrapping an AspectJ after-throwing advice method.classSpring AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.classSpring AOP advice that wraps an AspectJ before method.Methods in org.springframework.aop.aspectj that return Advice -
Uses of Advice in org.springframework.aop.aspectj.annotation
Methods in org.springframework.aop.aspectj.annotation that return AdviceModifier 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
Methods in org.springframework.aop.framework with parameters of type AdviceModifier and TypeMethodDescriptionvoidAdd the given AOP Alliance Advice at the specified position in the advice chain.voidAdd the given AOP Alliance advice to the tail of the advice (interceptor) chain.voidCannot add introductions this way unless the advice implements IntroductionInfo.voidbooleanAdvisedSupport.adviceIncluded(@Nullable Advice advice) Is the given advice included in any advisor within this proxy configuration?intReturn the index (from 0) of the given AOP Alliance Advice, or -1 if no such advice is an advice for this proxy.intbooleanAdvised.removeAdvice(Advice advice) Remove the Advisor containing the given advice.booleanAdvisedSupport.removeAdvice(Advice advice) -
Uses of Advice in org.springframework.aop.framework.adapter
Classes in org.springframework.aop.framework.adapter that implement AdviceModifier and TypeClassDescriptionclassInterceptor to wrap anAfterReturningAdvice.classInterceptor to wrap aMethodBeforeAdvice.classInterceptor to wrap an after-throwing advice.Methods in org.springframework.aop.framework.adapter with parameters of type AdviceModifier and TypeMethodDescriptionbooleanAdvisorAdapter.supportsAdvice(Advice advice) Does this adapter understand this advice object? Is it valid to invoke thegetInterceptorsmethod with an Advisor that contains this advice as an argument? -
Uses of Advice in org.springframework.aop.interceptor
Classes in org.springframework.aop.interceptor that implement AdviceModifier and TypeClassDescriptionclassBase class for monitoring interceptors, such as performance monitors.classBaseMethodInterceptorimplementation for tracing.classAOP AllianceMethodInterceptorthat processes method invocations asynchronously, using a givenAsyncTaskExecutor.classInterceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached.classMethodInterceptorimplementation that allows for highly customizable method-level tracing, using placeholders.classAOP AllianceMethodInterceptorthat can be introduced in a chain to display verbose information about intercepted invocations to the logger.final classInterceptor that exposes the currentMethodInvocationas a thread-local object.classSimple AOP AllianceMethodInterceptorfor performance monitoring.classSimple AOP AllianceMethodInterceptorthat 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
Classes in org.springframework.aop.support that implement AdviceModifier and TypeClassDescriptionclassConvenient implementation of theIntroductionInterceptorinterface.classConvenient implementation of theIntroductionInterceptorinterface.Methods in org.springframework.aop.support that return AdviceModifier and TypeMethodDescriptionAbstractBeanFactoryPointcutAdvisor.getAdvice()AbstractGenericPointcutAdvisor.getAdvice()DefaultIntroductionAdvisor.getAdvice()StaticMethodMatcherPointcutAdvisor.getAdvice()Methods in org.springframework.aop.support with parameters of type AdviceModifier and TypeMethodDescriptionvoidSpecify a particular instance of the target advice directly, avoiding lazy resolution inAbstractBeanFactoryPointcutAdvisor.getAdvice().voidSpecify the advice that this advisor should apply.voidConstructors in org.springframework.aop.support with parameters of type AdviceModifierConstructorDescriptionDefaultIntroductionAdvisor(Advice advice) Create a DefaultIntroductionAdvisor for the given advice.DefaultIntroductionAdvisor(Advice advice, @Nullable 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. -
Uses of Advice in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement AdviceModifier and TypeClassDescriptionclassAOP Alliance MethodInterceptor for declarative cache management using the common Spring caching infrastructure (Cache). -
Uses of Advice in org.springframework.cache.jcache.interceptor
Classes in org.springframework.cache.jcache.interceptor that implement AdviceModifier and TypeClassDescriptionclassAOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations. -
Uses of Advice in org.springframework.context.event
Classes in org.springframework.context.event that implement AdviceModifier and TypeClassDescriptionclassInterceptorthat publishes anApplicationEventto allApplicationListenersregistered with anApplicationEventPublisherafter each successful method invocation. -
Uses of Advice in org.springframework.dao.annotation
Methods in org.springframework.dao.annotation that return Advice -
Uses of Advice in org.springframework.dao.support
Classes in org.springframework.dao.support that implement AdviceModifier and TypeClassDescriptionclassAOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator. -
Uses of Advice in org.springframework.jmx.access
Classes in org.springframework.jmx.access that implement AdviceModifier and TypeClassDescriptionclassMethodInterceptorthat routes calls to an MBean running on the suppliedMBeanServerConnection.classCreates a proxy to a managed resource running either locally or remotely. -
Uses of Advice in org.springframework.resilience.retry
Classes in org.springframework.resilience.retry that implement AdviceModifier and TypeClassDescriptionclassAbstract retry interceptor implementation, adapting a given retry specification to eitherRetryTemplateor Reactor.classA simple concrete retry interceptor based on a givenMethodRetrySpec. -
Uses of Advice in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement AdviceModifier and TypeClassDescriptionclassSpecialization ofAsyncExecutionInterceptorthat delegates method execution to anExecutorbased on theAsyncannotation.Methods in org.springframework.scheduling.annotation that return Advice -
Uses of Advice in org.springframework.transaction.interceptor
Classes in org.springframework.transaction.interceptor that implement AdviceModifier and TypeClassDescriptionclassAOP Alliance MethodInterceptor for declarative transaction management using the common Spring transaction infrastructure (PlatformTransactionManager/ReactiveTransactionManager).Methods in org.springframework.transaction.interceptor that return Advice -
Uses of Advice in org.springframework.validation.beanvalidation
Classes in org.springframework.validation.beanvalidation that implement AdviceModifier and TypeClassDescriptionclassAn AOP AllianceMethodInterceptorimplementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods.Methods in org.springframework.validation.beanvalidation that return AdviceModifier and TypeMethodDescriptionprotected AdviceMethodValidationPostProcessor.createMethodValidationAdvice(Supplier<jakarta.validation.Validator> validator) Create AOP advice for method validation purposes, to be applied with a pointcut for the specified 'validated' annotation.