Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISingletonObjectRegistry.SingletonNames Property

Gets the names of singleton objects registered in this registry.

[Visual Basic]
Public MustOverride ReadOnly Property SingletonNames() As String
   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

ISingletonObjectRegistry Interface | Spring.Objects.Factory.Config Namespace