Browse Source

Polish

Closes gh-1089
pull/1097/head
Stephane Nicoll 10 years ago
parent
commit
cac58738c9
  1. 10
      src/asciidoc/core-beans.adoc

10
src/asciidoc/core-beans.adoc

@ -2680,12 +2680,12 @@ understand the "why" as well as the "how" behind it.
---- ----
To create such a proxy, you insert a child `<aop:scoped-proxy/>` element into a scoped To create such a proxy, you insert a child `<aop:scoped-proxy/>` element into a scoped
bean definition. (See <<beans-factory-scopes-other-injection-proxies>> and bean definition (see <<beans-factory-scopes-other-injection-proxies>> and
<<xsd-configuration>>.) Why do definitions of beans scoped at the `request`, `session`, <<xsd-configuration>>). Why do definitions of beans scoped at the `request`, `session`,
`globalSession` and custom-scope levels require the `<aop:scoped-proxy/>` element ? `globalSession` and custom-scope levels require the `<aop:scoped-proxy/>` element?
Let's examine the following singleton bean definition and contrast it with what you need Let's examine the following singleton bean definition and contrast it with what you need
to define for the aforementioned scopes. (The following `userPreferences` bean to define for the aforementioned scopes (note that the following `userPreferences` bean
definition as it stands is __incomplete.)__ definition as it stands is __incomplete__).
[source,xml,indent=0] [source,xml,indent=0]
[subs="verbatim,quotes"] [subs="verbatim,quotes"]

Loading…
Cancel
Save