Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebObjectDefinitionFactory.CreateObjectDefinition Method

Factory style method for getting concrete IConfigurableObjectDefinition instances.

[Visual Basic]
Public Overrides Sub CreateObjectDefinition( _
   ByVal typeName As String, _
   ByVal parent As String, _
   ByVal domain As AppDomain _
) _
    Implements IObjectDefinitionFactory.CreateObjectDefinition
[C#]
public override AbstractObjectDefinition CreateObjectDefinition(
   string typeName,
   string parent,
   AppDomain domain
);

Parameters

typeName
The Type of the defined object.
parent
The name of the parent object definition (if any).
domain
The AppDomain against which any class names will be resolved into Type instances.

Return Value

An IConfigurableObjectDefinition instance.

Implements

IObjectDefinitionFactory.CreateObjectDefinition

Remarks

If no parent is specified, a RootWebObjectDefinition is created, otherwise a ChildWebObjectDefinition.

See Also

WebObjectDefinitionFactory Class | Spring.Objects.Factory.Support Namespace