Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectFactoryAdvisorRetrievalHelper.IsEligibleObject Method

Determine, whether the specified aspect object is eligible. The default implementation accepts all except for advisors that are part of the internal infrastructure.

[Visual Basic]
Protected Overridable Sub IsEligibleObject( _
   ByVal advisorName As String, _
   ByVal objectType As Type, _
   ByVal objectName As String _
)
[C#]
protected virtual bool IsEligibleObject(
   string advisorName,
   Type objectType,
   string objectName
);

Parameters

advisorName
the name of the candidate advisor
objectType
the type of the object to be advised
objectName
the name of the object to be advised

See Also

ObjectFactoryAdvisorRetrievalHelper Class | Spring.Aop.Framework.AutoProxy Namespace