Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.FindMatchingObjects Method

Find object instances that match the required Type.

[Visual Basic]
Protected MustOverride Sub FindMatchingObjects( _
   ByVal requiredType As Type _
protected abstract 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 required Type, or a null reference (Nothing in Visual Basic) if none are 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

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace