Browse Source

Fix typo in @Configurable example in reference manual

Closes gh-26551
pull/26556/head
Taemin Shin 4 years ago committed by GitHub
parent
commit
29fb3f27be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/docs/asciidoc/core/core-aop.adoc

2
src/docs/asciidoc/core/core-aop.adoc

@ -3394,7 +3394,7 @@ definition to configure new `Account` instances. @@ -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 <<beans-annotation-config>> for further details).

Loading…
Cancel
Save