Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerContainerObjectDefinitionParser.ParseElement Method

Parse the specified XmlElement and register the resulting ObjectDefinitions with the Registry IObjectDefinitionRegistry embedded in the supplied ParserContext

[Visual Basic]
Public NotOverridable Sub ParseElement( _
   ByVal element As XmlElement, _
   ByVal parserContext As ParserContext _
) _
    Implements IObjectDefinitionParser.ParseElement
[C#]
public IObjectDefinition ParseElement(
   XmlElement element,
   ParserContext parserContext
);

Parameters

element
The element to be parsed.
parserContext
TThe object encapsulating the current state of the parsing process. Provides access to a IObjectDefinitionRegistry

Return Value

The primary object definition.

Implements

IObjectDefinitionParser.ParseElement

Remarks

This method is never invoked if the parser is namespace aware and was called to process the root node.

See Also

MessageListenerContainerObjectDefinitionParser Class | Spring.Messaging.Ems.Config Namespace