Move VariableSourceConfiguration up

This commit is contained in:
Marijn van der Zee
2011-12-19 14:38:28 +01:00
parent b8bde2779a
commit b17b27a0a9

View File

@@ -5017,16 +5017,16 @@ cfg.PostProcessObjectFactory(factory);</programlisting></para>
&lt;/DonConfiguration&gt;
&lt;/configuration&gt;
&lt;!-- VariableSource configuration: --&gt;
&lt;object type="Spring.Objects.Factory.Config.ConfigSectionVariableSource, Spring.Core"&gt;
&lt;property name="SectionNames" value="DonConfiguration" /&gt;
&lt;/object&gt;
&lt;!-- consume variables: --&gt;
&lt;object type="Example.Person, Spring.IocQuickStart.VariableSources"&gt;
&lt;property name="Name" value="${don_name}" /&gt;
&lt;property name="Age" value="${don_age}" /&gt;
&lt;/object&gt;
&lt;!-- VariableSource configuration: --&gt;
&lt;object type="Spring.Objects.Factory.Config.ConfigSectionVariableSource, Spring.Core"&gt;
&lt;property name="SectionNames" value="DonConfiguration" /&gt;
&lt;/object&gt;
</programlisting>
<para>This is similar to using the