@@ -847,12 +847,12 @@ This approach shows that the factory bean itself can be managed and configured t
847847dependency injection (DI). See <<beans-factory-properties-detailed,Dependencies and
848848Configuration in Detail>>.
849849
850- NOTE: In Spring documentation, "` factory bean` " refers to a bean that is configured in
851- the Spring container and that creates objects through an
850+ NOTE: In Spring documentation, "factory bean" refers to a bean that is configured in the
851+ Spring container and that creates objects through an
852852<<beans-factory-class-instance-factory-method,instance>> or
853853<<beans-factory-class-static-factory-method,static>> factory method. By contrast,
854854`FactoryBean` (notice the capitalization) refers to a Spring-specific
855- <<beans-factory-extension-factorybean, `FactoryBean` >> implementation class.
855+ <<beans-factory-extension-factorybean, `FactoryBean`>> implementation class.
856856
857857
858858[[beans-factory-type-determination]]
@@ -3350,8 +3350,9 @@ of the scope. You can also do the `Scope` registration declaratively, by using t
33503350 </beans>
33513351----
33523352
3353- NOTE: When you place `<aop:scoped-proxy/>` in a `FactoryBean` implementation, it is the factory
3354- bean itself that is scoped, not the object returned from `getObject()`.
3353+ NOTE: When you place `<aop:scoped-proxy/>` within a `<bean>` declaration for a
3354+ `FactoryBean` implementation, it is the factory bean itself that is scoped, not the object
3355+ returned from `getObject()`.
33553356
33563357
33573358
@@ -4545,16 +4546,16 @@ The `FactoryBean<T>` interface provides three methods:
45454546 instance can possibly be shared, depending on whether this factory returns singletons
45464547 or prototypes.
45474548* `boolean isSingleton()`: Returns `true` if this `FactoryBean` returns singletons or
4548- `false` otherwise.
4549+ `false` otherwise. The default implementation of this method returns `true`.
45494550* `Class<?> getObjectType()`: Returns the object type returned by the `getObject()` method
45504551 or `null` if the type is not known in advance.
45514552
4552- The `FactoryBean` concept and interface is used in a number of places within the Spring
4553+ The `FactoryBean` concept and interface are used in a number of places within the Spring
45534554Framework. More than 50 implementations of the `FactoryBean` interface ship with Spring
45544555itself.
45554556
45564557When you need to ask a container for an actual `FactoryBean` instance itself instead of
4557- the bean it produces, preface the bean's `id` with the ampersand symbol (`&`) when
4558+ the bean it produces, prefix the bean's `id` with the ampersand symbol (`&`) when
45584559calling the `getBean()` method of the `ApplicationContext`. So, for a given `FactoryBean`
45594560with an `id` of `myBean`, invoking `getBean("myBean")` on the container returns the
45604561product of the `FactoryBean`, whereas invoking `getBean("&myBean")` returns the
0 commit comments