Documentation fixes: SPR-5748, SPR-5723, SPR-5750, SPR-5753, SPR-5747
This commit is contained in:
@@ -2526,6 +2526,7 @@ public class ReplacementComputeValue implements MethodReplacer {
|
||||
method override would look like this:</para>
|
||||
|
||||
<programlisting language="xml"><bean id="myValueCalculator class="x.y.z.MyValueCalculator">
|
||||
|
||||
<lineannotation><!-- arbitrary method replacement --></lineannotation>
|
||||
<replaced-method name="computeValue" replacer="replacementComputeValue">
|
||||
<arg-type>String</arg-type>
|
||||
@@ -6545,7 +6546,7 @@ public Service userService() {
|
||||
protected abstract Command createCommand();
|
||||
} ]]></programlisting></para>
|
||||
|
||||
<para>Using Java-configurtion support we can easily create a
|
||||
<para>Using Java-configuration support we can easily create a
|
||||
subclass of <code>CommandManager</code> where the abstract
|
||||
<code>createCommand()</code> is overridden in such a way that it
|
||||
'looks up' a brand new (prototype) command object: <programlisting
|
||||
@@ -6851,4 +6852,4 @@ public class CachingMovieCatalog implements MovieCatalog {
|
||||
for more detail. For more on AspectJ load-time weaving, see <xref
|
||||
linkend="aop-aj-ltw" />.</para>
|
||||
</section>
|
||||
</chapter>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user