Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IInterceptor Interface

Represents a generic interceptor.

AopAlliance.Intercept.IInterceptor
   AopAlliance.Intercept.IConstructorInterceptor
   AopAlliance.Intercept.IMethodInterceptor
   Spring.Aop.IIntroductionInterceptor

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

Types that implement IInterceptor

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

A generic interceptor can intercept runtime events that occur within a base program. Those events are materialized by (reified in) joinpoints. Runtime joinpoints can be invocations, field access, exceptions, etc.

This interface is not used directly. Use the various derived interfaces to intercept specific events.

Requirements

Namespace: AopAlliance.Intercept

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

See Also

AopAlliance.Intercept Namespace | IJoinpoint