Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator.GetCustomTargetSource Method

Create a target source for object instances. Uses any TargetSourceCreators if set. Returns null if no Custom TargetSource should be used. This implementation uses the customTargetSourceCreators property. Subclasses can override this method to use a different mechanism.

[Visual Basic]
Protected Overridable Sub GetCustomTargetSource( _
   ByVal objectType As Type, _
   ByVal name As String _
)
[C#]
protected virtual ITargetSource GetCustomTargetSource(
   Type objectType,
   string name
);

Parameters

objectType
the type of the object to create a TargetSource for
name
the name of the object

Return Value

a TargetSource for this object

See Also

AbstractAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace