From 29fb3f27bebc6e26c1854ce13ee60087f1739189 Mon Sep 17 00:00:00 2001 From: Taemin Shin Date: Tue, 16 Feb 2021 03:40:45 +0900 Subject: [PATCH] Fix typo in @Configurable example in reference manual Closes gh-26551 --- src/docs/asciidoc/core/core-aop.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/core/core-aop.adoc b/src/docs/asciidoc/core/core-aop.adoc index 93bc96c255..c350ce8171 100644 --- a/src/docs/asciidoc/core/core-aop.adoc +++ b/src/docs/asciidoc/core/core-aop.adoc @@ -3394,7 +3394,7 @@ definition to configure new `Account` instances. You can also use autowiring to avoid having to specify a dedicated bean definition at all. To have Spring apply autowiring, use the `autowire` property of the `@Configurable` annotation. You can specify either `@Configurable(autowire=Autowire.BY_TYPE)` or -`@Configurable(autowire=Autowire.BY_NAME` for autowiring by type or by name, +`@Configurable(autowire=Autowire.BY_NAME)` for autowiring by type or by name, respectively. As an alternative, it is preferable to specify explicit, annotation-driven dependency injection for your `@Configurable` beans through `@Autowired` or `@Inject` at the field or method level (see <> for further details).