Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ITargetSourceCreator.GetTargetSource Method

Create a special TargetSource for the given object, if any.

[Visual Basic]
Public Sub GetTargetSource( _
   ByVal objectType As Type, _
   ByVal objectName As String, _
   ByVal factory As IObjectFactory _
)
[C#]
ITargetSource GetTargetSource(
   Type objectType,
   string objectName,
   IObjectFactory factory
);

Parameters

objectType
The type of the object to create a TargetSource for
objectName
the name of the object
factory
the containing factory

Return Value

a special TargetSource or null if this TargetSourceCreator isn't interested in the particular object

See Also

ITargetSourceCreator Interface | Spring.Aop.Framework.AutoProxy Namespace