Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractFilteringAutoProxyCreator.IsEligibleForProxying Method

Decide, whether the given object is eligible for proxying.

[Visual Basic]
Protected MustOverride Sub IsEligibleForProxying( _
   ByVal targetType As Type, _
   ByVal targetName As String _
)
[C#]
protected abstract bool IsEligibleForProxying(
   Type targetType,
   string targetName
);

Parameters

targetType
the object's type
targetName
the name of the object

Return Value

whether the given object shall be proxied.

Remarks

Override this method to allow or reject proxying for the given object.

See Also

AbstractFilteringAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace | ShouldSkip