Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractXmlApplicationContext.LoadObjectDefinitions(XmlObjectDefinitionReader) Method

Load the object definitions with the given XmlObjectDefinitionReader.

[Visual Basic]
Protected Overridable Overloads Sub LoadObjectDefinitions( _
   ByVal objectDefinitionReader As XmlObjectDefinitionReader _
)
[C#]
protected virtual void LoadObjectDefinitions(
   XmlObjectDefinitionReader objectDefinitionReader
);

Parameters

objectDefinitionReader
The reader containing object definitions.

Remarks

The lifecycle of the object factory is handled by RefreshObjectFactory; therefore this method is just supposed to load and / or register object definitions.

Exceptions

Exception Type Condition
ObjectsException In case of object registration errors.
ObjectsException In the case of errors encountered reading any of the resources yielded by the ConfigurationLocations method.

See Also

AbstractXmlApplicationContext Class | Spring.Context.Support Namespace | AbstractXmlApplicationContext.LoadObjectDefinitions Overload List