Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.AutowireByName Method

Fills in any missing property values with references to other objects in this factory if autowire is set to ByName.

[Visual Basic]
Protected Sub AutowireByName( _
   ByVal name As String, _
   ByVal definition As RootObjectDefinition, _
   ByVal wrapper As IObjectWrapper, _
   ByVal properties As MutablePropertyValues _
)
[C#]
protected void AutowireByName(
   string name,
   RootObjectDefinition definition,
   IObjectWrapper wrapper,
   MutablePropertyValues properties
);

Parameters

name
The object name to be autowired by Type.
definition
The definition of the named object to update through autowiring.
wrapper
The IObjectWrapper wrapping the target object (and from which we can rip out information concerning the object).
properties
The property values to register wired objects with.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace