Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionConstants.DependsOnAttribute Field

The names of the objects that this object depends on being initialized.

[Visual Basic]
Public Const DependsOnAttribute As String = depends-on
public const string DependsOnAttribute = depends-on;


The object factory will guarantee that these objects get initialized before this object definition.

Note    Dependencies are normally expressed through object properties or constructor arguments. This property should just be necessary for other kinds of dependencies such as statics (*ugh*) or database preparation on startup.

See Also

ObjectDefinitionConstants Class | Spring.Objects.Factory.Xml Namespace