Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultAdvisorAdapterRegistry.GetInterceptor Method

Returns an IInterceptor to allow the use of the supplied advisor in an interception-based framework.

[Visual Basic]
Public Overridable Sub GetInterceptor( _
   ByVal advisor As IAdvisor _
) _
    Implements IAdvisorAdapterRegistry.GetInterceptor
[C#]
public virtual IInterceptor GetInterceptor(
   IAdvisor advisor
);

Parameters

advisor
The advisor to find an interceptor for.

Return Value

An interceptor to expose this advisor's behaviour.

Implements

IAdvisorAdapterRegistry.GetInterceptor

Exceptions

Exception Type Condition
UnknownAdviceTypeException If the advisor type is not understood by any registered IAdvisorAdapter.

See Also

DefaultAdvisorAdapterRegistry Class | Spring.Aop.Framework.Adapter Namespace