Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvisor Interface

Base interface holding AOP advice and a filter determining the applicability of the advice (such as a pointcut).

For a list of all members of this type, see IAdvisor Members .

Spring.Aop.IAdvisor
   Spring.Aop.IIntroductionAdvisor
   Spring.Aop.IPointcutAdvisor

[Visual Basic]
Public Interface IAdvisor
[C#]
public interface IAdvisor

Types that implement IAdvisor

Type Description
AbstractGenericPointcutAdvisor Abstract PointcutAdvisor that allows for any Advice to be configured.
AbstractObjectFactoryPointcutAdvisor Abstract ObjectFactory-based IPointcutAdvisor that allows for any Advice to be configured as reference to an Advice object in an ObjectFactory.
AbstractPointcutAdvisor Abstract base class for IPointcutAdvisor implementations.
AttributeMatchMethodPointcutAdvisor Convenient class for attribute-match method pointcuts that hold an Interceptor, making them an Advisor.
DefaultIntroductionAdvisor Simple implementation that by default applies to any class.
DefaultObjectFactoryPointcutAdvisor Concrete ObjectFactory-based IPointcutAdvisor thta allows for any Advice to be configured as reference to an Advice object in the ObjectFatory, as well as the Pointcut to be configured through an object property.
DefaultPointcutAdvisor Convenient pointcut-driven advisor implementation.
DynamicMethodMatcherPointcutAdvisor Convenient superclass for IAdvisors that are also dynamic pointcuts.
NameMatchMethodPointcutAdvisor Convenient class for name-match method pointcuts that hold an Interceptor, making them an Advisor.
RegularExpressionMethodPointcutAdvisor Convenient class for regular expression method pointcuts that hold an IAdvice, making them an IAdvisor.
StaticMethodMatcherPointcutAdvisor Convenient superclass for IAdvisors that are also static pointcuts.
CacheParameterAdvisor Convinience advisor implementation that applies CacheParameterAdvice to all the methods that have CacheParameterAttribute defined on one or more of their parameters.
CacheResultAdvisor Convinience advisor implementation that applies CacheResultAdvice to all the methods that have CacheResultAttribute defined.
InvalidateCacheAdvisor Convinience advisor implementation that applies InvalidateCacheAdvice to all the methods that have InvalidateCacheAttribute defined.
ParameterValidationAdvisor Convinience advisor implementation that applies ParameterValidationAdvice to all the methods that have ValidatedAttribute defined on one or more of their parameters.
PersistenceExceptionTranslationAdvisor Spring AOP exception translation aspect for use at Repository or DAO layer level. Translates native persistence exceptions into Spring's DataAccessException hierarchy, based on a given PersistenceExceptionTranslator.
DefaultTransactionAttributeSourceAdvisor Advisor driven by a ITransactionAttributeSource, used to exclude a general advice IAdvice from methods that are non-transactional.
TransactionAttributeSourceAdvisor Advisor driven by a ITransactionAttributeSource, used to exclude a TransactionInterceptor from methods that are non-transactional.

Remarks

Note    This interface is not for use by Spring.NET users, but exists rather to allow for commonality in the support for different types of advice within the framework.

Spring.NET AOP is centered on around advice delivered via method interception, compliant with the AOP Alliance interception API. The IAdvisor interface allows support for different types of advice, such as before and after advice, which need not be implemented using interception.

Requirements

Namespace: Spring.Aop

Assembly: Spring.Aop (in Spring.Aop.dll)

See Also

IAdvisor Members | Spring.Aop Namespace | IMethodBeforeAdvice | IAfterReturningAdvice | IThrowsAdvice | IMethodInterceptor