@ -2626,10 +2626,10 @@ public class ReplacementComputeValue implements MethodReplacer {
@@ -2626,10 +2626,10 @@ public class ReplacementComputeValue implements MethodReplacer {
@ -2991,18 +2991,18 @@ public class ReplacementComputeValue implements MethodReplacer {
@@ -2991,18 +2991,18 @@ public class ReplacementComputeValue implements MethodReplacer {
linkend="beans-factory-scopes-custom">a custom scope</link> of your
own devising) is all very well, but one of the main value-adds of the
Spring IoC container is that it manages not only the instantiation of
your objects (beans), but also the wiring up of collaborators (or
dependencies). If you want to inject a (for example) HTTP request
dependencies). If you want to inject (for example) an HTTP request
scoped bean into another bean, you will need to inject an AOP proxy in
place of the scoped bean. That is, you need to inject a proxy object
that exposes the same public interface as the scoped object, but that
that exposes the same public interface as the scoped object but that
is smart enough to be able to retrieve the real, target object from
the relevant scope (for example a HTTP request) and delegate method
the relevant scope (for example an HTTP request) and delegate method
calls onto the real object.</para>
<note>
@ -3029,7 +3029,7 @@ public class ReplacementComputeValue implements MethodReplacer {
@@ -3029,7 +3029,7 @@ public class ReplacementComputeValue implements MethodReplacer {
@ -3079,12 +3079,12 @@ public class ReplacementComputeValue implements MethodReplacer {
@@ -3079,12 +3079,12 @@ public class ReplacementComputeValue implements MethodReplacer {
(conceptually) only ever operate on the exact same
<literal>'userPreferences'</literal> object, that is the one that it
was originally injected with. This is <emphasis>not</emphasis> what
you want when you inject a HTTP
you want when you inject an HTTP
<interfacename>Session</interfacename>-scoped bean as a dependency
into a collaborating object (typically). Rather, what we
<emphasis>do</emphasis> want is a single
<literal>'userManager'</literal> object, and then, for the lifetime of
a HTTP <interfacename>Session</interfacename>, we want to see and use
an HTTP <interfacename>Session</interfacename>, we want to see and use
a <literal>'userPreferences'</literal> object that is specific to said
@ -3200,7 +3200,7 @@ public class ReplacementComputeValue implements MethodReplacer {
@@ -3200,7 +3200,7 @@ public class ReplacementComputeValue implements MethodReplacer {
allowing them to be 'destroyed' if needed.</para>
<para>The first method should return the object from the underlying
scope. The session scope implementation for example will return the
scope. The session scope implementation, for example, will return the
session-scoped bean (and if it does not exist, return a new instance
of the bean, after having bound it to the session for future
reference).</para>
@ -6321,11 +6321,10 @@ public class AppConfig {
@@ -6321,11 +6321,10 @@ public class AppConfig {
@ -6736,14 +6734,14 @@ public class MovieFinderImpl implements MovieFinder {
@@ -6736,14 +6734,14 @@ public class MovieFinderImpl implements MovieFinder {
<para>As with Spring-managed components in general, the default and by
far most common scope is 'singleton'. However, there are times when
other scopes are needed. Therefore Spring 2.5 introduces a new
other scopes are needed. Therefore Spring 2.5 introduced a new
<interfacename>@Scope</interfacename> annotation as well. Simply provide
the name of the scope within the annotation, such as:</para>