Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectReferenceFactoryObject.ObjectFactory Property

Callback that supplies the owning factory to an object instance.

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

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

Property Value

The owning IObjectFactory (may not be a null reference (Nothing in Visual Basic)). The object can immediately call methods on the factory.

Implements

IObjectFactoryAware.ObjectFactory

Exceptions

Exception Type Condition
ObjectsException In case of initialization errors.

See Also

ObjectReferenceFactoryObject Class | Spring.Objects.Factory.Config Namespace | ObjectFactory