Fix comment in Method Injection example in reference manual

Prior to this commit, the comment in the XML configuration example in
the Method Injection section of the reference manual referred to the
wrong bean names.

Closes gh-33096
This commit is contained in:
Sam Brannen 2024-06-26 16:45:06 +02:00
parent 6dd5c85ed0
commit c68c6faa03
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ the original class. Consider the following example:
<!-- inject dependencies here as required --> <!-- inject dependencies here as required -->
</bean> </bean>
<!-- commandProcessor uses statefulCommandHelper --> <!-- commandManager uses myCommand prototype bean -->
<bean id="commandManager" class="fiona.apple.CommandManager"> <bean id="commandManager" class="fiona.apple.CommandManager">
<lookup-method name="createCommand" bean="myCommand"/> <lookup-method name="createCommand" bean="myCommand"/>
</bean> </bean>