Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultListableObjectFactory.PreInstantiateSingletons Method

Ensure that all non-lazy-init singletons are instantiated, also considering IFactoryObjects.

[Visual Basic]
Public NotOverridable Sub PreInstantiateSingletons() _
    Implements IConfigurableListableObjectFactory.PreInstantiateSingletons
[C#]
public void PreInstantiateSingletons();

Implements

IConfigurableListableObjectFactory.PreInstantiateSingletons

Exceptions

Exception Type Condition
ObjectsException If one of the singleton objects could not be created.

See Also

DefaultListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | PreInstantiateSingletons