Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultListableObjectFactory.GetObjectDefinition(String) Method

Return the registered IObjectDefinition for the given object, allowing access to its property values and constructor argument values.

[Visual Basic]
Public Overrides Overloads Sub GetObjectDefinition( _
   ByVal name As String _
) _
    Implements IObjectDefinitionRegistry.GetObjectDefinition
[C#]
public override IObjectDefinition GetObjectDefinition(
   string name
);

Parameters

name
The name of the object.

Return Value

The registered IObjectDefinition, or null, if specified object definitions does not exist.

Implements

IObjectDefinitionRegistry.GetObjectDefinition

Exceptions

Exception Type Condition
ArgumentException If name is null or empty string.

See Also

DefaultListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | DefaultListableObjectFactory.GetObjectDefinition Overload List | GetObjectDefinition