Uses of Interface
org.springframework.aop.Advisor
Packages that use Advisor
Package
Description
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.
Base classes enabling auto-proxying based on AspectJ.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
SPI package allowing Spring AOP framework to handle arbitrary advice types.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
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.
Annotation support for DAOs.
Annotation support for asynchronous method execution.
AOP-based solution for declarative transaction demarcation.
-
Uses of Advisor in org.springframework.aop
Subinterfaces of Advisor in org.springframework.aopModifier and TypeInterfaceDescriptioninterfaceSuperinterface for advisors that perform one or more AOP introductions.interfaceSuperinterface for all Advisors that are driven by a pointcut. -
Uses of Advisor in org.springframework.aop.aspectj
Subinterfaces of Advisor in org.springframework.aop.aspectjModifier and TypeInterfaceDescriptioninterfaceInterface to be implemented by Spring AOP Advisors wrapping AspectJ aspects that may have a lazy initialization strategy.Classes in org.springframework.aop.aspectj that implement AdvisorModifier and TypeClassDescriptionclassSpring AOP Advisor that can be used for any AspectJ pointcut expression.classclassIntroduction advisor delegating to the given object.Methods in org.springframework.aop.aspectj with parameters of type AdvisorModifier and TypeMethodDescriptionstatic AspectJPrecedenceInformationAspectJAopUtils.getAspectJPrecedenceInformationFor(Advisor anAdvisor) Return the AspectJPrecedenceInformation provided by this advisor or its advice.static booleanAspectJAopUtils.isAfterAdvice(Advisor anAdvisor) Returntrueif the advisor is a form of after advice.static booleanAspectJAopUtils.isBeforeAdvice(Advisor anAdvisor) Returntrueif the advisor is a form of before advice.Method parameters in org.springframework.aop.aspectj with type arguments of type AdvisorModifier and TypeMethodDescriptionstatic booleanAspectJProxyUtils.makeAdvisorChainAspectJCapableIfNecessary(List<Advisor> advisors) Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors: concretely,ExposeInvocationInterceptorat the beginning of the list. -
Uses of Advisor in org.springframework.aop.aspectj.annotation
Classes in org.springframework.aop.aspectj.annotation that implement AdvisorModifier and TypeClassDescriptionprotected static classSynthetic advisor that instantiates the aspect.Methods in org.springframework.aop.aspectj.annotation that return AdvisorModifier and TypeMethodDescriptionAspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advisor for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, String aspectName) Methods in org.springframework.aop.aspectj.annotation that return types with arguments of type AdvisorModifier and TypeMethodDescriptionBeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors()Look for AspectJ-annotated aspect beans in the current bean factory, and return to a list of Spring AOP Advisors representing them.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors()AspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory aspectInstanceFactory) Build Spring AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance.ReflectiveAspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory aspectInstanceFactory) -
Uses of Advisor in org.springframework.aop.aspectj.autoproxy
Methods in org.springframework.aop.aspectj.autoproxy that return types with arguments of type AdvisorModifier and TypeMethodDescriptionAspectJAwareAdvisorAutoProxyCreator.sortAdvisors(List<Advisor> advisors) Sort the suppliedAdvisorinstances according to AspectJ precedence.Method parameters in org.springframework.aop.aspectj.autoproxy with type arguments of type AdvisorModifier and TypeMethodDescriptionprotected voidAspectJAwareAdvisorAutoProxyCreator.extendAdvisors(List<Advisor> candidateAdvisors) Add anExposeInvocationInterceptorto the beginning of the advice chain.AspectJAwareAdvisorAutoProxyCreator.sortAdvisors(List<Advisor> advisors) Sort the suppliedAdvisorinstances according to AspectJ precedence. -
Uses of Advisor in org.springframework.aop.framework
Fields in org.springframework.aop.framework declared as AdvisorMethods in org.springframework.aop.framework that return AdvisorModifier and TypeMethodDescriptionAdvisor[]Advised.getAdvisors()Return the advisors applying to this proxy.final Advisor[]AdvisedSupport.getAdvisors()Methods in org.springframework.aop.framework that return types with arguments of type AdvisorMethods in org.springframework.aop.framework with parameters of type AdvisorModifier and TypeMethodDescriptionvoidAdvised.addAdvisor(int pos, Advisor advisor) Add an Advisor at the specified position in the chain.voidAdvised.addAdvisor(Advisor advisor) Add an advisor at the end of the advisor chain.voidAdvisedSupport.addAdvisor(int pos, Advisor advisor) voidAdvisedSupport.addAdvisor(Advisor advisor) voidAdvisedSupport.addAdvisors(Advisor... advisors) Add all the given advisors to this proxy configuration.intReturn the index (from 0) of the given advisor, or -1 if no such advisor applies to this proxy.intbooleanAdvised.removeAdvisor(Advisor advisor) Remove the given advisor.booleanAdvisedSupport.removeAdvisor(Advisor advisor) booleanAdvised.replaceAdvisor(Advisor a, Advisor b) Replace the given advisor.booleanAdvisedSupport.replaceAdvisor(Advisor a, Advisor b) Method parameters in org.springframework.aop.framework with type arguments of type AdvisorModifier and TypeMethodDescriptionvoidAdvisedSupport.addAdvisors(Collection<Advisor> advisors) Add all the given advisors to this proxy configuration.protected voidAdvisedSupport.copyConfigurationFrom(AdvisedSupport other, TargetSource targetSource, List<Advisor> advisors) Copy the AOP configuration from the givenAdvisedSupportobject, but allow substitution of a freshTargetSourceand a given interceptor chain. -
Uses of Advisor in org.springframework.aop.framework.adapter
Methods in org.springframework.aop.framework.adapter that return AdvisorMethods in org.springframework.aop.framework.adapter with parameters of type AdvisorModifier and TypeMethodDescriptionAdvisorAdapter.getInterceptor(Advisor advisor) Return an AOP Alliance MethodInterceptor exposing the behavior of the given advice to an interception-based AOP framework.AdvisorAdapterRegistry.getInterceptors(Advisor advisor) Return an array of AOP Alliance MethodInterceptors to allow use of the given Advisor in an interception-based framework.DefaultAdvisorAdapterRegistry.getInterceptors(Advisor advisor) -
Uses of Advisor in org.springframework.aop.framework.autoproxy
Methods in org.springframework.aop.framework.autoproxy that return AdvisorModifier and TypeMethodDescriptionprotected Advisor[]AbstractAutoProxyCreator.buildAdvisors(String beanName, Object[] specificInterceptors) Determine the advisors for the given bean, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.Methods in org.springframework.aop.framework.autoproxy that return types with arguments of type AdvisorModifier and TypeMethodDescriptionBeanFactoryAdvisorRetrievalHelper.findAdvisorBeans()Find all eligible Advisor beans in the current bean factory, ignoring FactoryBeans and excluding beans that are currently in creation.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(List<Advisor> candidateAdvisors, Class<?> beanClass, String beanName) Search the given candidate Advisors to find all Advisors that can apply to the specified bean.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors()Find all candidate Advisors to use in auto-proxying.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(Class<?> beanClass, String beanName) Find all eligible Advisors for auto-proxying this class.AbstractAdvisorAutoProxyCreator.sortAdvisors(List<Advisor> advisors) Sort advisors based on ordering.Method parameters in org.springframework.aop.framework.autoproxy with type arguments of type AdvisorModifier and TypeMethodDescriptionprotected voidAbstractAdvisorAutoProxyCreator.extendAdvisors(List<Advisor> candidateAdvisors) Extension hook that subclasses can override to register additional Advisors, given the sorted Advisors obtained to date.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(List<Advisor> candidateAdvisors, Class<?> beanClass, String beanName) Search the given candidate Advisors to find all Advisors that can apply to the specified bean.AbstractAdvisorAutoProxyCreator.sortAdvisors(List<Advisor> advisors) Sort advisors based on ordering. -
Uses of Advisor in org.springframework.aop.interceptor
Fields in org.springframework.aop.interceptor declared as AdvisorModifier and TypeFieldDescriptionstatic final AdvisorExposeInvocationInterceptor.ADVISORSingleton advisor for this class.Methods in org.springframework.aop.interceptor that return AdvisorModifier and TypeMethodDescriptionstatic AdvisorExposeBeanNameAdvisors.createAdvisorIntroducingNamedBean(String beanName) Create a new advisor that will expose the given bean name, introducing the NamedBean interface to make the bean name accessible without forcing the target object to be aware of this Spring IoC concept.static AdvisorExposeBeanNameAdvisors.createAdvisorWithoutIntroduction(String beanName) Create a new advisor that will expose the given bean name, with no introduction. -
Uses of Advisor in org.springframework.aop.support
Classes in org.springframework.aop.support that implement AdvisorModifier and TypeClassDescriptionclassAbstract BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in a BeanFactory.classAbstract genericPointcutAdvisorthat allows for anyAdviceto be configured.classAbstract base class forPointcutAdvisorimplementations.classConcrete BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in the BeanFactory, as well as the Pointcut to be configured through a bean property.classSimpleIntroductionAdvisorimplementation that by default applies to any class.classConvenient Pointcut-driven Advisor implementation.classConvenient class for name-match method pointcuts that hold an Advice, making them an Advisor.classConvenient class for regexp method pointcuts that hold an Advice, making them anAdvisor.classConvenient base class for Advisors that are also static pointcuts.Methods in org.springframework.aop.support that return types with arguments of type AdvisorModifier and TypeMethodDescriptionAopUtils.findAdvisorsThatCanApply(List<Advisor> candidateAdvisors, Class<?> clazz) Determine the sublist of thecandidateAdvisorslist that is applicable to the given class.Methods in org.springframework.aop.support with parameters of type AdvisorModifier and TypeMethodDescriptionstatic booleanCan the given advisor apply at all on the given class? This is an important test as it can be used to optimize out an advisor for a class.static booleanCan the given advisor apply at all on the given class?Method parameters in org.springframework.aop.support with type arguments of type Advisor -
Uses of Advisor in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement AdvisorModifier and TypeClassDescriptionclassAdvisor driven by aCacheOperationSource, used to include a cache advice bean for methods that are cacheable. -
Uses of Advisor in org.springframework.cache.jcache.interceptor
Classes in org.springframework.cache.jcache.interceptor that implement AdvisorModifier and TypeClassDescriptionclassAdvisor driven by aJCacheOperationSource, used to include a cache advice bean for methods that are cacheable. -
Uses of Advisor in org.springframework.dao.annotation
Classes in org.springframework.dao.annotation that implement AdvisorModifier and TypeClassDescriptionclassSpring AOP exception translation aspect for use at Repository or DAO layer level. -
Uses of Advisor in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement AdvisorModifier and TypeClassDescriptionclassAdvisor that activates asynchronous method execution through theAsyncannotation. -
Uses of Advisor in org.springframework.transaction.interceptor
Classes in org.springframework.transaction.interceptor that implement AdvisorModifier and TypeClassDescriptionclassAdvisor driven by aTransactionAttributeSource, used to include a transaction advice bean for methods that are transactional.classAdvisor driven by aTransactionAttributeSource, used to include aTransactionInterceptoronly for methods that are transactional.