Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableApplicationContext.ObjectFactory Property

Return the internal object factory of this application context.

[Visual Basic]
Public MustOverride ReadOnly Property ObjectFactory() As IConfigurableListableObjectFactory
   Public Get
   End Get
End Property
public IConfigurableListableObjectFactory ObjectFactory { public get; }


Can be used to access specific functionality of the factory.

CAUTION    This is just guaranteed to return an instance that is not a null reference (Nothing in Visual Basic)after the context has been refreshed at least once.
CAUTION    Do not use this to post-process the object factory; singletons will already have been instantiated. Use an IObjectFactoryPostProcessor to intercept the object factory setup process before objects even get touched.

See Also

IConfigurableApplicationContext Interface | Spring.Context Namespace | IObjectFactoryPostProcessor