Skip to content

Commit

Permalink
Fix XML code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
brendenehlers authored and sdeleuze committed Dec 26, 2024
1 parent ea386c2 commit eabd574
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit eabd574

Please sign in to comment.