Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisorChainFactoryUtils.CalculateInterceptors Method

Gets the list of static (Shared in Visual Basic) interceptors and dynamic interception advice that may apply to the supplied method invocation.

[Visual Basic]
Public Shared Sub CalculateInterceptors( _
   ByVal config As IAdvised, _
   ByVal proxy As Object, _
   ByVal method As MethodInfo, _
   ByVal targetType As Type _
)
[C#]
public static IList CalculateInterceptors(
   IAdvised config,
   object proxy,
   MethodInfo method,
   Type targetType
);

Parameters

config
The proxy configuration.
proxy
The object proxy.
method
The method to evaluate interceptors for.
targetType
The Type of the target object.

Return Value

A IList of IMethodInterceptor (if there's a dynamic method matcher that needs evaluation at runtime).

See Also

AdvisorChainFactoryUtils Class | Spring.Aop.Framework Namespace