Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.GetSingletonNames(Type) Method

Return the names of objects in the singleton cache that match the given object type (including subclasses).

[Visual Basic]
Public Overridable Overloads Sub GetSingletonNames( _
   ByVal type As Type _
)
[C#]
public virtual string[] GetSingletonNames(
   Type type
);

Parameters

type
The class or interface to match, or a null reference (Nothing in Visual Basic) for all object names.

Return Value

The names of objects in the singleton cache that match the given object type (including subclasses), or an empty array if none.

Remarks

Will not consider IFactoryObjects as the type of their created objects is not known before instantiation.

Does not consider any hierarchy this factory may participate in.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace | AbstractObjectFactory.GetSingletonNames Overload List