Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPrototypeTargetSource.ObjectFactory Property

The target factory that will be used to perform the lookup of the object referred to by the TargetObjectName property.

[Visual Basic]
Public Overridable Property ObjectFactory() As IObjectFactory _
    Implements IObjectFactoryAware.ObjectFactory

   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public virtual IObjectFactory ObjectFactory { public get; public set; }

Property Value

The owning IObjectFactory (will never be a null reference (Nothing in Visual Basic)).

Implements

IObjectFactoryAware.ObjectFactory

Remarks

Needed so that prototype instances can be created as necessary.

Exceptions

Exception Type Condition
ObjectsException In case of initialization errors.

See Also

AbstractPrototypeTargetSource Class | Spring.Aop.Target Namespace | ObjectFactory