Browse Source

Merge branch '6.2.x'

pull/34171/head
Sébastien Deleuze 1 year ago
parent
commit
b4a2cdf028
  1. 4
      framework-docs/modules/ROOT/pages/core/beans/dependencies/factory-properties-detailed.adoc

4
framework-docs/modules/ROOT/pages/core/beans/dependencies/factory-properties-detailed.adoc

@ -168,8 +168,8 @@ listings shows how to use the `parent` attribute: @@ -168,8 +168,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 -->
<!-- in the child (descendant) context, 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 -->

Loading…
Cancel
Save