Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPrototypeTargetSource.AfterPropertiesSet Method

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

[Visual Basic]
Public Overridable Sub AfterPropertiesSet() _
    Implements IInitializingObject.AfterPropertiesSet
public virtual void AfterPropertiesSet();




Ensures that the TargetObjectName property has been set to a valid value (i.e. is not a null reference (Nothing in Visual Basic) or a string that consists solely of whitespace).


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

See Also

AbstractPrototypeTargetSource Class | Spring.Aop.Target Namespace | AfterPropertiesSet