Skip to content

Commit d854b20

Browse files
author
canattofilipe
committed
Fix: Adjust Bean Overview Doc to Start using getAutowireCapableBeanFactory Instead of getBeanFactory
1 parent 1ca941b commit d854b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/core/beans/definition.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following table describes these properties:
5757
In addition to bean definitions that contain information on how to create a specific
5858
bean, the `ApplicationContext` implementations also permit the registration of existing
5959
objects that are created outside the container (by users). This is done by accessing the
60-
ApplicationContext's `BeanFactory` through the `getBeanFactory()` method, which returns
60+
ApplicationContext's `BeanFactory` through the `getAutowireCapableBeanFactory()` method, which returns
6161
the `DefaultListableBeanFactory` implementation. `DefaultListableBeanFactory` supports
6262
this registration through the `registerSingleton(..)` and `registerBeanDefinition(..)`
6363
methods. However, typical applications work solely with beans defined through regular

0 commit comments

Comments
 (0)