Fix XML code snippet
See gh-34148
This commit is contained in:
committed by
Sébastien Deleuze
parent
ea386c2398
commit
eabd574038
@@ -169,7 +169,8 @@ listings shows how to use the `parent` attribute:
|
||||
[source,xml,indent=0,subs="verbatim,quotes"]
|
||||
----
|
||||
<!-- in the child (descendant) context -->
|
||||
<bean id="accountService" <!-- bean name is the same as the parent bean -->
|
||||
<!-- bean name is the same as the parent bean -->
|
||||
<bean id="accountService"
|
||||
class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
<property name="target">
|
||||
<ref parent="accountService"/> <!-- notice how we refer to the parent bean -->
|
||||
|
||||
Reference in New Issue
Block a user