Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InheritanceBasedAopConfigurer.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

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

Implements

IObjectFactoryAware.ObjectFactory

Remarks

Invoked after population of normal object properties but before an init callback like IInitializingObject's AfterPropertiesSet method or a custom init-method.

Exceptions

Exception Type Condition
ObjectsException In case of initialization errors.

See Also

InheritanceBasedAopConfigurer Class | Spring.Aop.Framework.AutoProxy Namespace