Uses of Interface
org.aopalliance.aop.Advice
Packages that use Advice Package Description org.aopalliance.intercept The AOP Alliance reflective interception abstraction.org.springframework.aop Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.aspectj.annotation Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.org.springframework.aop.framework.adapter SPI package allowing Spring AOP framework to handle arbitrary advice types.org.springframework.aop.interceptor Provides miscellaneous interceptor implementations.org.springframework.aop.support Convenience classes for using Spring's AOP API.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.org.springframework.context.event Support classes for application events, like standard context events.org.springframework.dao.annotation Annotation support for DAOs.org.springframework.dao.support Support classes for DAO implementations, providing miscellaneous utility methods.org.springframework.ejb.access This package contains classes that allow easy access to EJBs.org.springframework.jms.remoting Remoting classes for transparent Java-to-Java remoting via a JMS provider.org.springframework.jmx.access Provides support for accessing remote MBean resources.org.springframework.orm.hibernate5.support Classes supporting theorg.springframework.orm.hibernate5
package.org.springframework.remoting.caucho This package provides remoting classes for Caucho's Hessian protocol: a proxy factory for accessing Hessian services, and an exporter for making beans available to Hessian clients.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.remoting.jaxws Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC), as included in Java 6 and Java EE 5.org.springframework.remoting.rmi Remoting classes for conventional RMI and transparent remoting via RMI invokers.org.springframework.remoting.support Generic support classes for remoting implementations.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.validation.beanvalidation 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.intercept Modifier and Type Interface Description interface
ConstructorInterceptor
Intercepts the construction of a new object.interface
Interceptor
This interface represents a generic interceptor.interface
MethodInterceptor
Intercepts calls on an interface on its way to the target.Uses of Advice in org.springframework.aop
Subinterfaces of Advice in org.springframework.aop Modifier and Type Interface Description interface
AfterAdvice
Common marker interface for after advice, such asAfterReturningAdvice
andThrowsAdvice
.interface
AfterReturningAdvice
After returning advice is invoked only on normal method return, not if an exception is thrown.interface
BeforeAdvice
Common marker interface for before advice, such asMethodBeforeAdvice
.interface
DynamicIntroductionAdvice
Subinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor.interface
IntroductionInterceptor
Subinterface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.interface
MethodBeforeAdvice
Advice invoked before a method is invoked.interface
ThrowsAdvice
Tag interface for throws advice.Fields in org.springframework.aop declared as Advice Modifier and Type Field Description static Advice
Advisor. EMPTY_ADVICE
Common placeholder for an emptyAdvice
to be returned fromAdvisor.getAdvice()
if no proper advice has been configured (yet).Methods in org.springframework.aop that return Advice Modifier and Type Method Description Advice
Advisor. getAdvice()
Return the advice part of this aspect.Uses of Advice in org.springframework.aop.aspectj
Classes in org.springframework.aop.aspectj that implement Advice Modifier and Type Class Description class
AbstractAspectJAdvice
Base class for AOP AllianceAdvice
classes wrapping an AspectJ aspect or an AspectJ-annotated advice method.class
AspectJAfterAdvice
Spring AOP advice wrapping an AspectJ after advice method.class
AspectJAfterReturningAdvice
Spring AOP advice wrapping an AspectJ after-returning advice method.class
AspectJAfterThrowingAdvice
Spring AOP advice wrapping an AspectJ after-throwing advice method.class
AspectJAroundAdvice
Spring AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.class
AspectJMethodBeforeAdvice
Spring AOP advice that wraps an AspectJ before method.Uses of Advice in org.springframework.aop.aspectj.annotation
Methods in org.springframework.aop.aspectj.annotation that return Advice Modifier and Type Method Description Advice
AspectJAdvisorFactory. getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName)
Build a Spring AOP Advice for the given AspectJ advice method.Advice
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 Advice Modifier and Type Method Description void
Advised. addAdvice(int pos, Advice advice)
Add the given AOP Alliance Advice at the specified position in the advice chain.void
Advised. addAdvice(Advice advice)
Add the given AOP Alliance advice to the tail of the advice (interceptor) chain.void
AdvisedSupport. addAdvice(int pos, Advice advice)
Cannot add introductions this way unless the advice implements IntroductionInfo.void
AdvisedSupport. addAdvice(Advice advice)
boolean
AdvisedSupport. adviceIncluded(Advice advice)
Is the given advice included in any advisor within this proxy configuration?int
Advised. indexOf(Advice advice)
Return the index (from 0) of the given AOP Alliance Advice, or -1 if no such advice is an advice for this proxy.int
AdvisedSupport. indexOf(Advice advice)
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
Classes in org.springframework.aop.framework.adapter that implement Advice Modifier and Type Class Description class
AfterReturningAdviceInterceptor
Interceptor to wrap anAfterReturningAdvice
.class
MethodBeforeAdviceInterceptor
Interceptor to wrap aMethodBeforeAdvice
.class
ThrowsAdviceInterceptor
Interceptor to wrap an after-throwing advice.Methods in org.springframework.aop.framework.adapter with parameters of type Advice Modifier and Type Method Description boolean
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
Classes in org.springframework.aop.interceptor that implement Advice Modifier and Type Class Description class
AbstractMonitoringInterceptor
Base class for monitoring interceptors, such as performance monitors.class
AbstractTraceInterceptor
BaseMethodInterceptor
implementation for tracing.class
AsyncExecutionInterceptor
AOP AllianceMethodInterceptor
that processes method invocations asynchronously, using a givenAsyncTaskExecutor
.class
ConcurrencyThrottleInterceptor
Interceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached.class
CustomizableTraceInterceptor
MethodInterceptor
implementation that allows for highly customizable method-level tracing, using placeholders.class
DebugInterceptor
AOP AllianceMethodInterceptor
that can be introduced in a chain to display verbose information about intercepted invocations to the logger.class
ExposeInvocationInterceptor
Interceptor that exposes the currentMethodInvocation
as a thread-local object.class
JamonPerformanceMonitorInterceptor
Performance monitor interceptor that uses JAMon library to perform the performance measurement on the intercepted method and output the stats.class
PerformanceMonitorInterceptor
Simple AOP AllianceMethodInterceptor
for performance monitoring.class
SimpleTraceInterceptor
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
Classes in org.springframework.aop.support that implement Advice Modifier and Type Class Description class
DelegatePerTargetObjectIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.class
DelegatingIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.Methods in org.springframework.aop.support that return Advice Modifier and Type Method Description Advice
AbstractBeanFactoryPointcutAdvisor. getAdvice()
Advice
AbstractGenericPointcutAdvisor. getAdvice()
Advice
DefaultIntroductionAdvisor. getAdvice()
Advice
StaticMethodMatcherPointcutAdvisor. getAdvice()
Methods in org.springframework.aop.support with parameters of type Advice Modifier and Type Method Description void
AbstractBeanFactoryPointcutAdvisor. setAdvice(Advice advice)
Specify a particular instance of the target advice directly, avoiding lazy resolution inAbstractBeanFactoryPointcutAdvisor.getAdvice()
.void
AbstractGenericPointcutAdvisor. setAdvice(Advice advice)
Specify the advice that this advisor should apply.void
StaticMethodMatcherPointcutAdvisor. setAdvice(Advice advice)
Constructors in org.springframework.aop.support with parameters of type Advice Constructor Description DefaultIntroductionAdvisor(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.StaticMethodMatcherPointcutAdvisor(Advice 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 Advice Modifier and Type Class Description class
CacheInterceptor
AOP 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 Advice Modifier and Type Class Description class
JCacheInterceptor
AOP 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 Advice Modifier and Type Class Description class
EventPublicationInterceptor
Interceptor
that publishes anApplicationEvent
to allApplicationListeners
registered with anApplicationEventPublisher
after each successful method invocation.Uses of Advice in org.springframework.dao.annotation
Methods in org.springframework.dao.annotation that return Advice Modifier and Type Method Description Advice
PersistenceExceptionTranslationAdvisor. getAdvice()
Uses of Advice in org.springframework.dao.support
Classes in org.springframework.dao.support that implement Advice Modifier and Type Class Description class
PersistenceExceptionTranslationInterceptor
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.Uses of Advice in org.springframework.ejb.access
Classes in org.springframework.ejb.access that implement Advice Modifier and Type Class Description class
AbstractRemoteSlsbInvokerInterceptor
Base class for interceptors proxying remote Stateless Session Beans.class
AbstractSlsbInvokerInterceptor
Base class for AOP interceptors invoking local or remote Stateless Session Beans.class
LocalSlsbInvokerInterceptor
Invoker for a local Stateless Session Bean.class
LocalStatelessSessionProxyFactoryBean
ConvenientFactoryBean
for local Stateless Session Bean (SLSB) proxies.class
SimpleRemoteSlsbInvokerInterceptor
Basic invoker for a remote Stateless Session Bean.class
SimpleRemoteStatelessSessionProxyFactoryBean
ConvenientFactoryBean
for remote SLSB proxies.Uses of Advice in org.springframework.jms.remoting
Classes in org.springframework.jms.remoting that implement Advice Modifier and Type Class Description class
JmsInvokerClientInterceptor
MethodInterceptor
for accessing a JMS-based remote service.class
JmsInvokerProxyFactoryBean
FactoryBean for JMS invoker proxies.Uses of Advice in org.springframework.jmx.access
Classes in org.springframework.jmx.access that implement Advice Modifier and Type Class Description class
MBeanClientInterceptor
MethodInterceptor
that routes calls to an MBean running on the suppliedMBeanServerConnection
.class
MBeanProxyFactoryBean
Creates a proxy to a managed resource running either locally or remotely.Uses of Advice in org.springframework.orm.hibernate5.support
Classes in org.springframework.orm.hibernate5.support that implement Advice Modifier and Type Class Description class
OpenSessionInterceptor
Simple AOP AllianceMethodInterceptor
implementation that binds a new HibernateSession
for each method invocation, if none bound before.Uses of Advice in org.springframework.remoting.caucho
Classes in org.springframework.remoting.caucho that implement Advice Modifier and Type Class Description class
HessianClientInterceptor
MethodInterceptor
for accessing a Hessian service.class
HessianProxyFactoryBean
FactoryBean
for Hessian proxies.Uses of Advice in org.springframework.remoting.httpinvoker
Classes in org.springframework.remoting.httpinvoker that implement Advice Modifier and Type Class Description class
HttpInvokerClientInterceptor
MethodInterceptor
for accessing an HTTP invoker service.class
HttpInvokerProxyFactoryBean
FactoryBean
for HTTP invoker proxies.Uses of Advice in org.springframework.remoting.jaxws
Classes in org.springframework.remoting.jaxws that implement Advice Modifier and Type Class Description class
JaxWsPortClientInterceptor
MethodInterceptor
for accessing a specific port of a JAX-WS service.class
JaxWsPortProxyFactoryBean
FactoryBean
for a specific port of a JAX-WS service.Uses of Advice in org.springframework.remoting.rmi
Classes in org.springframework.remoting.rmi that implement Advice Modifier and Type Class Description class
JndiRmiClientInterceptor
MethodInterceptor
for accessing RMI services from JNDI.class
JndiRmiProxyFactoryBean
FactoryBean
for RMI proxies from JNDI.class
RmiClientInterceptor
MethodInterceptor
for accessing conventional RMI services or RMI invokers.class
RmiProxyFactoryBean
FactoryBean
for RMI proxies, supporting both conventional RMI services and RMI invokers.Uses of Advice in org.springframework.remoting.support
Classes in org.springframework.remoting.support that implement Advice Modifier and Type Class Description class
RemoteInvocationTraceInterceptor
AOP Alliance MethodInterceptor for tracing remote invocations.Uses of Advice in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement Advice Modifier and Type Class Description class
AnnotationAsyncExecutionInterceptor
Specialization ofAsyncExecutionInterceptor
that delegates method execution to anExecutor
based on theAsync
annotation.Methods in org.springframework.scheduling.annotation that return Advice Modifier and Type Method Description protected Advice
AsyncAnnotationAdvisor. buildAdvice(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler)
Advice
AsyncAnnotationAdvisor. getAdvice()
Uses of Advice in org.springframework.transaction.interceptor
Classes in org.springframework.transaction.interceptor that implement Advice Modifier and Type Class Description class
TransactionInterceptor
AOP Alliance MethodInterceptor for declarative transaction management using the common Spring transaction infrastructure (PlatformTransactionManager
/ReactiveTransactionManager
).Methods in org.springframework.transaction.interceptor that return Advice Modifier and Type Method Description Advice
TransactionAttributeSourceAdvisor. getAdvice()
Uses of Advice in org.springframework.validation.beanvalidation
Classes in org.springframework.validation.beanvalidation that implement Advice Modifier and Type Class Description class
MethodValidationInterceptor
An AOP AllianceMethodInterceptor
implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods.Methods in org.springframework.validation.beanvalidation that return Advice Modifier and Type Method Description protected Advice
MethodValidationPostProcessor. createMethodValidationAdvice(Validator validator)
Create AOP advice for method validation purposes, to be applied with a pointcut for the specified 'validated' annotation.