Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

FieldRetrievingFactoryObject.AfterPropertiesSet Method

Invoked by an IObjectFactory after it has set all object properties supplied (and satisfied IObjectFactoryAware and ApplicationContextAware).

[Visual Basic]
Public NotOverridable Sub AfterPropertiesSet() _
    Implements IInitializingObject.AfterPropertiesSet
[C#]
public void AfterPropertiesSet();

Implements

IInitializingObject.AfterPropertiesSet

Remarks

This method allows the object instance to perform initialization only possible when all object properties have been set and to throw an exception in the event of misconfiguration.

Exceptions

Exception Type Condition
Exception In the event of misconfiguration (such as failure to set an essential property) or if initialization fails.

See Also

FieldRetrievingFactoryObject Class | Spring.Objects.Factory.Config Namespace