Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableObjectDefinition.IsLazyInit Property

Is this object lazily initialized?

[Visual Basic]
Public MustOverride Property IsLazyInit() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public bool IsLazyInit { public get; public set; }


Only applicable to a singleton object.

If false, it will get instantiated on startup by object factories that perform eager initialization of singletons.

See Also

IConfigurableObjectDefinition Interface | Spring.Objects.Factory.Support Namespace