Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory.GetObjectDefinitionNames(Type) Method

Return the names of objects matching the given Type (including subclasses), judging from the object definitions.

[Visual Basic]
Public Overloads Sub GetObjectDefinitionNames( _
   ByVal type As Type _
public string[] GetObjectDefinitionNames(
   Type type


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

Return Value

The names of all objects defined in this factory, or an empty array if none are defined.


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

See Also

StaticListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | StaticListableObjectFactory.GetObjectDefinitionNames Overload List