Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectDefinition.IsLazyInit Property

Is this object lazily initialized?

[Visual Basic]
Public NotOverridable Property IsLazyInit() As Boolean _
    Implements IObjectDefinition.IsLazyInit

   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public bool IsLazyInit { public get; public set; }

Implements

IObjectDefinition.IsLazyInit

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

AbstractObjectDefinition Class | Spring.Objects.Factory.Support Namespace