Polishing

This commit is contained in:
Sam Brannen 2023-12-06 17:59:40 +01:00
parent bf6cb7cd89
commit 2e5d1daeff
1 changed files with 7 additions and 4 deletions

View File

@ -28,13 +28,16 @@ import org.springframework.core.annotation.AliasFor;
import org.springframework.core.type.filter.TypeFilter;
/**
* Configures component scanning directives for use with @{@link Configuration} classes.
* Provides support parallel with Spring XML's {@code <context:component-scan>} element.
* Configures component scanning directives for use with {@link Configuration @Configuration}
* classes.
*
* <p>Provides support comparable to Spring's {@code <context:component-scan>}
* XML namespace element.
*
* <p>Either {@link #basePackageClasses} or {@link #basePackages} (or its alias
* {@link #value}) may be specified to define specific packages to scan. If specific
* packages are not defined, scanning will occur from the package of the
* class that declares this annotation.
* packages are not defined, scanning will occur recursively beginning with the
* package of the class that declares this annotation.
*
* <p>Note that the {@code <context:component-scan>} element has an
* {@code annotation-config} attribute; however, this annotation does not. This is because