annotation can only be applied as a meta-annotation unlike Spring's
@Qualifier which takes a string property to discriminate among
multiple injection candidates and can be placed on annotation as well
as types, fields, methods, contstructors and parameters.</para>
multiple injection candidates and can be placed on annotations as well
as types, fields, methods, constructors, and parameters.</para>
</note>
<programlistinglanguage="java">public class MovieRecommender {
@ -4968,8 +4968,8 @@ public @interface MovieQualifier {
@@ -4968,8 +4968,8 @@ public @interface MovieQualifier {
project</ulink> are part of the core Spring Framework. This allows you
to define beans using Java rather than using the traditional XML files.
Take a look at the <interfacename>@Configuration</interfacename>,
<interfacename>@Bean, @Import,</interfacename> and
<interfacename>@DependsOn</interfacename> annotations for how to use
<interfacename>@Bean</interfacename>, <interfacename>@Import</interfacename>, and
<interfacename>@DependsOn</interfacename> annotations for examples of how to use
these new features.</para>
</note>
@ -5088,9 +5088,9 @@ public class JpaMovieFinder implements MovieFinder {
@@ -5088,9 +5088,9 @@ public class JpaMovieFinder implements MovieFinder {
stereotpye annotations and they will be automatically detected during
component-scanning. The value of the
<interfacename>@Named</interfacename> property will be used as the
Bean Name. At this time Spring default for bean scope will be applied
Bean Name. At this time Spring defaults for bean scope will be applied
when using @Named. This behavior as well as mapping of JSR 330 and
JSR299 scopes is planned for Spring 3.0 GA assuming the JSRs are
JSR299 scopes is planned for Spring 3.0 GA assuming the JSRs are
stable at that time.</para>
</note>
</section>
@ -5315,9 +5315,9 @@ public class FactoryMethodComponent {
@@ -5315,9 +5315,9 @@ public class FactoryMethodComponent {
corresponding bean definition.</para>
<note>
<para>JSR 330's @Named annotation can be used as a mean to both detect
<para>JSR 330's @Named annotation can be used as a means to both detect
components and to provide them with a name. This behavior is enabled
automatically if you have the JSR 330 jar on the classpath.</para>
automatically if you have the JSR 330 JAR on the classpath.</para>
</note>
<para>If such an annotation contains no <literal>name</literal> value or
@ -6045,7 +6045,8 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
@@ -6045,7 +6045,8 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
implements the <classname>MessageSourceAware</classname> interface is
injected with the application context's
<classname>MessageSource</classname> when the bean is created and
configured. <note>
configured.</para>
<note>
<para><emphasis>As an alternative to
<classname>ResourceBundleMessageSource</classname>, Spring provides
a <classname>ReloadableResourceBundleMessageSource</classname>
@ -6058,7 +6059,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
@@ -6058,7 +6059,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
(while efficiently caching them in between). Check out the
@ -6403,7 +6404,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
@@ -6403,7 +6404,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
"META-INF/applicationContext.xml"), and drop the resulting RAR file into
your application server's deployment directory.</para>
<para><note>
<note>
<para>Such RAR deployment units are usually self-contained; they do
not expose components to the outside world, not even to other
modules of the same application. Interaction with a RAR-based
@ -6414,7 +6415,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
@@ -6414,7 +6415,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
the outside, it could for example export RMI endpoints, which of
course may be used by other application modules on the same