Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPrototypeTargetSourceCreator.GetTargetSource Method

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

[Visual Basic]
Public NotOverridable Sub GetTargetSource( _
   ByVal objectType As Type, _
   ByVal name As String, _
   ByVal factory As IObjectFactory _
) _
    Implements ITargetSourceCreator.GetTargetSource
[C#]
public ITargetSource GetTargetSource(
   Type objectType,
   string name,
   IObjectFactory factory
);

Parameters

objectType
the type of the object to create a TargetSource for
name
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

Implements

ITargetSourceCreator.GetTargetSource

See Also

AbstractPrototypeTargetSourceCreator Class | Spring.Aop.Framework.AutoProxy.Target Namespace