Improve ref docs regarding @Bean method visibility constraints

Closes gh-26797
This commit is contained in:
Sviatoslav Hryb 2021-04-20 20:08:27 +03:00 committed by GitHub
parent 0286549466
commit e03fdeaf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 <<beans-java-basic-concepts>> for a general introduction.