From e03fdeaf8bbbe6d9ce28153de7ca738dbab4d13f Mon Sep 17 00:00:00 2001 From: Sviatoslav Hryb Date: Tue, 20 Apr 2021 20:08:27 +0300 Subject: [PATCH] Improve ref docs regarding @Bean method visibility constraints Closes gh-26797 --- src/docs/asciidoc/core/core-beans.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index 9d0d313592..145d7a1222 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -8385,7 +8385,7 @@ annotation, as the following example shows: === Using the `@Configuration` annotation `@Configuration` is a class-level annotation indicating that an object is a source of -bean definitions. `@Configuration` classes declare beans through public `@Bean` annotated +bean definitions. `@Configuration` classes declare beans through `@Bean` annotated methods. Calls to `@Bean` methods on `@Configuration` classes can also be used to define inter-bean dependencies. See <> for a general introduction.