Resource Handlers documentation fix.
This commit is contained in:
@@ -5335,7 +5335,7 @@ cfg.PostProcessObjectFactory(factory);</programlisting></para>
|
||||
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
|
||||
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
<section name="resources" type="Spring.Context.Support.<literal>ResourceHandlersSectionHandler</literal>, Spring.Core"/>
|
||||
<section name="resourceHandlers" type="Spring.Context.Support.ResourceHandlersSectionHandler, Spring.Core"/>
|
||||
<section name="typeAliases" type="Spring.Context.Support.TypeAliasesSectionHandler, Spring.Core"/>
|
||||
<section name="typeConverters" type="Spring.Context.Support.TypeConvertersSectionHandler, Spring.Core"/>
|
||||
|
||||
@@ -5348,9 +5348,9 @@ cfg.PostProcessObjectFactory(factory);</programlisting></para>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
|
||||
</parsers>
|
||||
|
||||
<resources>
|
||||
<resourceHandlers>
|
||||
<handler protocol="db" type="MyCompany.MyApp.Resources.MyDbResource"/>
|
||||
</resources>
|
||||
</resourceHandlers>
|
||||
|
||||
<context caseSensitive="false">
|
||||
<resource uri="config://spring/objects"/>
|
||||
@@ -5465,7 +5465,7 @@ IApplicationContext context =
|
||||
as you would any other Spring managed object. An example of the latter
|
||||
is shown below:</para>
|
||||
|
||||
<programlisting language="myxml"><object id="myResourceHandlers" type="Spring.Objects.Factory.Config.<literal>ResourceHandlersSectionHandler</literal>, Spring.Core">
|
||||
<programlisting language="myxml"><object id="myResourceHandlers" type="Spring.Objects.Factory.Config.ResourceHandlerConfigurer, Spring.Core">
|
||||
<property name="ResourceHandlers">
|
||||
<dictionary>
|
||||
<entry key="db" value="MyCompany.MyApp.Resources.MyDbResource, MyAssembly"/>
|
||||
|
||||
Reference in New Issue
Block a user