Fix aspect autodetection description

Closes gh-26862
This commit is contained in:
Sviatoslav Hryb 2021-04-28 16:37:59 +03:00 committed by GitHub
parent d7f67b3dc3
commit 35196d3c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ other class. They can also contain pointcut, advice, and introduction (inter-typ
declarations.
.Autodetecting aspects through component scanning
NOTE: You can register aspect classes as regular beans in your Spring XML configuration or
NOTE: You can register aspect classes as regular beans in your Spring XML configuration, using `@Bean` factory method or
autodetect them through classpath scanning -- the same as any other Spring-managed bean.
However, note that the `@Aspect` annotation is not sufficient for autodetection in
the classpath. For that purpose, you need to add a separate `@Component` annotation