|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Advisor | |
---|---|
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.dao.annotation | Annotation support for DAOs. |
org.springframework.transaction.interceptor | AOP-based solution for declarative transaction demarcation. |
Uses of Advisor in org.springframework.aop |
---|
Subinterfaces of Advisor in org.springframework.aop | |
---|---|
interface |
IntroductionAdvisor
Superinterface for advisors that perform one or more AOP introductions. |
interface |
PointcutAdvisor
Superinterface for all Advisors that are driven by a pointcut. |
Uses of Advisor in org.springframework.aop.aspectj |
---|
Subinterfaces of Advisor in org.springframework.aop.aspectj | |
---|---|
interface |
InstantiationModelAwarePointcutAdvisor
Interface 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 Advisor | |
---|---|
class |
AspectJExpressionPointcutAdvisor
Spring AOP Advisor that can be used for any AspectJ pointcut expression. |
class |
AspectJPointcutAdvisor
AspectJPointcutAdvisor that adapts an AbstractAspectJAdvice
to the PointcutAdvisor interface. |
class |
DeclareParentsAdvisor
Introduction advisor delegating to the given object. |
Methods in org.springframework.aop.aspectj with parameters of type Advisor | |
---|---|
static AspectJPrecedenceInformation |
AspectJAopUtils.getAspectJPrecedenceInformationFor(Advisor anAdvisor)
Returns the AspectJPrecedenceInformation provided by this advisor or its advice. |
static boolean |
AspectJAopUtils.isAfterAdvice(Advisor anAdvisor)
Return true if the advisor is a form of after advice. |
static boolean |
AspectJAopUtils.isBeforeAdvice(Advisor anAdvisor)
|
Uses of Advisor in org.springframework.aop.aspectj.annotation |
---|
Classes in org.springframework.aop.aspectj.annotation that implement Advisor | |
---|---|
(package private) class |
InstantiationModelAwarePointcutAdvisorImpl
Internal implementation of AspectJPointcutAdvisor. |
protected static class |
ReflectiveAspectJAdvisorFactory.SyntheticInstantiationAdvisor
Synthetic advisor that instantiates the aspect. |
Methods in org.springframework.aop.aspectj.annotation that return Advisor | |
---|---|
Advisor |
ReflectiveAspectJAdvisorFactory.getAdvisor(Method candidateAspectJAdviceMethod,
MetadataAwareAspectInstanceFactory aif,
int declarationOrderInAspect,
String aspectName)
|
Advisor |
AspectJAdvisorFactory.getAdvisor(Method candidateAspectJAdviceMethod,
MetadataAwareAspectInstanceFactory aif,
int declarationOrderInAspect,
String aspectName)
TODO: javadoc |
Methods in org.springframework.aop.aspectj.annotation that return types with arguments of type Advisor | |
---|---|
protected List<Advisor> |
AnnotationAwareAspectJAutoProxyCreator.createAspectJAdvisors(AspectJAdvisorFactory aspectJAdvisorFactory,
ListableBeanFactory beanFactory)
Look for AspectJ annotated aspect classes in the current bean factory, and return to a list of Spring AOP advisors representing them. |
List<Advisor> |
ReflectiveAspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory maaif)
Create Spring Advisors for all At AspectJ methods on the given aspect instance. |
List<Advisor> |
AspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory aif)
Create Spring Advisors for all At AspectJ methods on the given aspect instance. |
Uses of Advisor in org.springframework.aop.framework |
---|
Methods in org.springframework.aop.framework that return Advisor | |
---|---|
Advisor[] |
AdvisedSupport.getAdvisors()
|
Advisor[] |
Advised.getAdvisors()
Return the Advisors applying to this proxy. |
Methods in org.springframework.aop.framework with parameters of type Advisor | |
---|---|
void |
AdvisedSupport.addAdvisor(Advisor advisor)
|
void |
Advised.addAdvisor(Advisor advisor)
Add an Advisor at the end of the advisor chain. |
void |
AdvisedSupport.addAdvisor(int pos,
Advisor advisor)
|
void |
Advised.addAdvisor(int pos,
Advisor advisor)
Add an Advisor at the specified position in the chain. |
void |
AdvisedSupport.addAllAdvisors(Advisor[] advisors)
|
int |
AdvisedSupport.indexOf(Advisor advisor)
Return the index (from 0) of the given advisor, or -1 if no such advisor applies to this proxy. |
int |
Advised.indexOf(Advisor advisor)
Return the index (from 0) of the given advisor, or -1 if no such advisor applies to this proxy. |
boolean |
AdvisedSupport.removeAdvisor(Advisor advisor)
|
boolean |
Advised.removeAdvisor(Advisor advisor)
Remove the given advisor. |
boolean |
AdvisedSupport.replaceAdvisor(Advisor a,
Advisor b)
Replace the given advisor. |
boolean |
Advised.replaceAdvisor(Advisor a,
Advisor b)
Replace the given advisor. |
Uses of Advisor in org.springframework.aop.framework.adapter |
---|
Methods in org.springframework.aop.framework.adapter that return Advisor | |
---|---|
Advisor |
AdvisorAdapterRegistry.wrap(Object advice)
Return an Advisor wrapping the given advice. |
Advisor |
DefaultAdvisorAdapterRegistry.wrap(Object adviceObject)
|
Methods in org.springframework.aop.framework.adapter with parameters of type Advisor | |
---|---|
Interceptor |
ThrowsAdviceAdapter.getInterceptor(Advisor advisor)
|
Interceptor |
BeforeAdviceAdapter.getInterceptor(Advisor advisor)
|
Interceptor |
AfterReturningAdviceAdapter.getInterceptor(Advisor advisor)
|
Interceptor |
AdvisorAdapter.getInterceptor(Advisor advisor)
Return an AOP Alliance Interceptor exposing the behavior of the given advice to an interception-based AOP framework. |
Interceptor[] |
AdvisorAdapterRegistry.getInterceptors(Advisor advisor)
Return an array of AOP Alliance Interceptors to allow use of the given Advisor in an interception-based framework. |
Interceptor[] |
DefaultAdvisorAdapterRegistry.getInterceptors(Advisor advisor)
|
Uses of Advisor in org.springframework.aop.interceptor |
---|
Fields in org.springframework.aop.interceptor declared as Advisor | |
---|---|
static Advisor |
ExposeInvocationInterceptor.ADVISOR
Singleton advisor for this class. |
Methods in org.springframework.aop.interceptor that return Advisor | |
---|---|
static Advisor |
ExposeBeanNameAdvisors.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 Advisor |
ExposeBeanNameAdvisors.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 Advisor | |
---|---|
class |
AbstractGenericPointcutAdvisor
Abstract generic PointcutAdvisor that allows for any Advice to be configured. |
class |
AbstractPointcutAdvisor
Abstract base class for PointcutAdvisor implementations. |
class |
DefaultIntroductionAdvisor
Simple IntroductionAdvisor implementation that by default applies to any class. |
class |
DefaultPointcutAdvisor
Convenient Pointcut-driven Advisor implementation. |
class |
DynamicMethodMatcherPointcutAdvisor
Deprecated. since 2.0, in favor of using DefaultPointcutAdvisor with a
runtime DynamicMethodMatcherPointcut |
class |
NameMatchMethodPointcutAdvisor
Convenient class for name-match method pointcuts that hold an Advice, making them an Advisor. |
class |
RegexpMethodPointcutAdvisor
Convenient class for regexp method pointcuts that hold an Advice, making them an Advisor. |
class |
StaticMethodMatcherPointcutAdvisor
Convenient superclass for Advisors that are also static pointcuts. |
Methods in org.springframework.aop.support with parameters of type Advisor | |
---|---|
static boolean |
AopUtils.canApply(Advisor advisor,
Class targetClass)
Can the given advisor apply at all on the given class? |
static boolean |
AopUtils.canApply(Advisor advisor,
Class targetClass,
boolean hasIntroductions)
Can the given advisor apply at all on the given class? |
Uses of Advisor in org.springframework.dao.annotation |
---|
Classes in org.springframework.dao.annotation that implement Advisor | |
---|---|
class |
PersistenceExceptionTranslationAdvisor
Spring AOP exception translation aspect for use at Repository or DAO layer level. |
Uses of Advisor in org.springframework.transaction.interceptor |
---|
Classes in org.springframework.transaction.interceptor that implement Advisor | |
---|---|
class |
TransactionAttributeSourceAdvisor
Advisor driven by a TransactionAttributeSource, used to exclude a TransactionInterceptor from methods that are non-transactional. |
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |