Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.CreateObjectInstance Method

Creates an IObjectWrapper instance from the RootObjectDefinition passed in objectDefinition using constructor arguments

[Visual Basic]
Protected Sub CreateObjectInstance( _
   ByVal objectName As String, _
   ByVal objectDefinition As RootObjectDefinition, _
   ByVal arguments As Object _
)
[C#]
protected IObjectWrapper CreateObjectInstance(
   string objectName,
   RootObjectDefinition objectDefinition,
   object[] arguments
);

Parameters

objectName
The name of the object to create - used for error messages.
objectDefinition
The RootObjectDefinition describing the object to be created.
arguments
optional arguments to pass to the constructor

Return Value

An IObjectWrapper wrapping the already instantiated object

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace