Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectsNamespaceParser.ImportObjectDefinitionResource Method

NOTE: This method is now obsolete.

not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead


Loads external XML object definitions from the resource described by the supplied resource.

[Visual Basic]
<Obsolete(Message:="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError:=False)> _
Protected Overridable Sub ImportObjectDefinitionResource( _
   ByVal resource As XmlElement, _
   ByVal parserContext As ParserContext _
)
[C#]
[Obsolete(Message="not used anymore - ObjectsNamespaceParser will be dropped with 2.x, use ObjectDefinitionParserHelper instead", IsError=False)]
protected virtual void ImportObjectDefinitionResource(
   XmlElement resource,
   ParserContext parserContext
);

Parameters

resource
The XML element describing the resource.
parserContext
The parser context.

Exceptions

Exception Type Condition
ObjectDefinitionStoreException If the resource could not be imported.

See Also

ObjectsNamespaceParser Class | Spring.Objects.Factory.Xml Namespace