Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.SingletonNames Property

Gets the names of singleton objects registered in this registry.

[Visual Basic]
Public NotOverridable ReadOnly Property SingletonNames() As String _
    Implements ISingletonObjectRegistry.SingletonNames

   Public Get
   End Get
End Property
public string[] SingletonNames { public get; }

Property Value

The list of names as String array (never





Only checks already instantiated singletons; does not return names for singleton bean definitions which have not been instantiated yet.

The main purpose of this method is to check manually registered singletons RegisterSingleton. Can also be used to check which singletons defined by an object definition have already been created.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace