Browse Source

Update docs to use of @Bean inside a @Component

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1067 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Mark Pollack 17 years ago
parent
commit
ad7fd374b0
  1. 6
      spring-framework-reference/src/beans.xml

6
spring-framework-reference/src/beans.xml

@ -6437,10 +6437,10 @@ public class FactoryMethodComponent { @@ -6437,10 +6437,10 @@ public class FactoryMethodComponent {
}
}</programlisting>
<para>This class is a Spring component and has appliation specific code
<para>This class is a Spring component and has application specific code
contained in its <methodname>DoWork</methodname> method. However, it
also contributes a bean definition that has a factory method refering to
the method <methodname>publicInstance</methodname>. The
also contributes a bean definition that has a factory method referring
to the method <methodname>publicInstance</methodname>. The
<literal>@Bean</literal> annotation identifies the factory method and
also other bean definition properties, such as a qualifier value via the
<classname>@Qualifier</classname> annotation. Other method level

Loading…
Cancel
Save