Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinition.IsLazyInit Property

Is this object lazily initialized?

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

Remarks

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

IObjectDefinition Interface | Spring.Objects.Factory.Config Namespace