Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

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




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


Exception Type Condition
ObjectsException In case of initialization errors.

See Also

PersistenceExceptionTranslationInterceptor Class | Spring.Dao.Support Namespace