Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.GetObjectDefinition(String) Method

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

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

Parameters

name
The name of the object.

Return Value

The registered IObjectDefinition.

Implements

IObjectDefinitionRegistry.GetObjectDefinition

Exceptions

Exception Type Condition
NoSuchObjectDefinitionException If there is no object with the given name.
ObjectsException In the case of errors.

See Also

AbstractApplicationContext Class | Spring.Context.Support Namespace | AbstractApplicationContext.GetObjectDefinition Overload List