Class XmlContextLoader

Namespace: redb.Route.Xml
Assembly: redb.Route.Xml.dll

Loads a context.xml document: the context-level
sections a package carries besides its routes — an explicit <components> list,
context-wide <bean> declarations, and the <onInit> pipeline of
ordinary format steps, run ONCE at —
the engine's only fail-fast bootstrap hook, so a failed step keeps the context from
accepting traffic, exactly the module-init semantics the sketch asks for. Same eager
collect-all parsing with positions as the routes loader.

public sealed class XmlContextLoader

Inheritance

Object→XmlContextLoader

Methods

Load(XDocument, string?)

Parses and applies every section of the document. See the class remarks.

public void Load(XDocument document, string? sourceName = null)

Constructors

XmlContextLoader(RouteContext, XmlRouteLoaderOptions?)

Creates a loader for the given context.