Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NamespaceParsersSectionHandler Class

Configuration section handler for the (recommended, Spring.NET standard) parsers config section.

For a list of all members of this type, see NamespaceParsersSectionHandler Members .


[Visual Basic]
Public Class NamespaceParsersSectionHandler
    Implements IConfigurationSectionHandler
public class NamespaceParsersSectionHandler : IConfigurationSectionHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Spring.NET allows the registration of custom configuration parsers that can be used to create simplified configuration schemas that better describe object definitions.

For example, Spring.NET uses this facility internally in order to define simplified schemas for various AOP, Data and Services definitions.


The following example shows how to configure both this section handler and how to define custom configuration parsers within a Spring.NET config section.

      <sectionGroup name="spring">
        <section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core" />
        <parser type="Spring.Aop.Config.AopNamespaceParser, Spring.Aop" />
        <parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />


Namespace: Spring.Context.Support

Assembly: Spring.Core (in Spring.Core.dll)

See Also

NamespaceParsersSectionHandler Members | Spring.Context.Support Namespace | NamespaceParserRegistry