DefaultListableObjectFactory.FindMatchingObjects Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultListableObjectFactory.FindMatchingObjects Method

Find object instances that match the requiredType.

[Visual Basic]
Protected Overrides Sub FindMatchingObjects( _
   ByVal requiredType As Type _
protected override IDictionary FindMatchingObjects(
   Type requiredType


The type of the objects to look up.

Return Value

An IDictionary of object names and object instances that match the requiredType, or a null reference (Nothing in Visual Basic) if none is found.


Called by autowiring. If a subclass cannot obtain information about object names by Type, a corresponding exception should be thrown.


Exception Type Condition
ObjectsException In case of errors.

See Also

DefaultListableObjectFactory Class | Spring.Objects.Factory.Support Namespace