Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMethodInterceptor Interface

Intercepts calls on an interface on its way to the target.

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

AopAlliance.Intercept.IMethodInterceptor
   Spring.Aop.IIntroductionInterceptor

[Visual Basic]
Public Interface IMethodInterceptor
    Implements IInterceptor, IAdvice
[C#]
public interface IMethodInterceptor : IInterceptor, IAdvice

Types that implement IMethodInterceptor

Type Description
AfterReturningAdviceInterceptor Interceptor to wrap an IAfterReturningAdvice instance.
ThrowsAdviceInterceptor Interceptor to wrap an after throwing advice.
ThreadLocalTargetSource ITargetSource implementation that uses a threading model in which every thread has its own copy of the target.
AbstractExceptionHandlerAdvice This is
CacheResultAdvice Implementation of a result caching advice.
ExceptionHandlerAdvice Exception advice to perform exception translation, conversion of exceptions to default return values, and exception swallowing. Configuration is via a DSL like string for ease of use in common cases as well as allowing for custom translation logic by leveraging the Spring expression language.
AbstractLoggingAdvice Abstract base class for logging advice
SimpleLoggingAdvice Configurable advice for logging.
RetryAdvice AOP Advice to retry a method invocation on an exception. The retry semantics are defined by a DSL of the form
on exception name [ExceptionName1,ExceptionName2,...] retry [number of times] [delay|rate] [delay time|rate expression]
. For example,
on exception name ArithmeticException retry 3x delay 1s
PersistenceExceptionTranslationInterceptor AOP MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.
LazyInitializer Missing <summary> documentation for T:Spring.Data.NHibernate.Bytecode.LazyInitializer
TransactionInterceptor An AOP Alliance IMethodInterceptor providing declarative transaction management using the common Spring.NET transaction infrastructure.

Remarks

Such interceptions are nested "on top" of the target.

Requirements

Namespace: AopAlliance.Intercept

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

See Also

IMethodInterceptor Members | AopAlliance.Intercept Namespace