Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvisorAdapter.GetInterceptor Method

Return an AOP Alliance IInterceptor exposing the behaviour of the given advice to an interception-based AOP framework.

[Visual Basic]
Public Sub GetInterceptor( _
   ByVal advisor As IAdvisor _
)
[C#]
IInterceptor GetInterceptor(
   IAdvisor advisor
);

Parameters

advisor
The advice. The SupportsAdvice method must have previously returned true on the supplied advisor.

Return Value

An AOP Alliance IInterceptor exposing the behaviour of the given advice to an interception-based AOP framework.

Remarks

Don't worry about any IPointcut contained in the supplied IAdvisor; the AOP framework will take care of checking the pointcut.

See Also

IAdvisorAdapter Interface | Spring.Aop.Framework.Adapter Namespace