Skip to content

Commit 328dd71

Browse files
canattofilipesnicoll
canattofilipe
authored andcommitted
Use correct method to retrieve DefaultListableBeanFactory
See gh-34400 Signed-off-by: canattofilipe <[email protected]>
1 parent d04883f commit 328dd71

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)