public interface AnnotationConfigRegistry
register(java.lang.Class<?>...)
and scan(java.lang.String...)
methods.Modifier and Type | Method and Description |
---|---|
void |
register(Class<?>... annotatedClasses)
Register one or more annotated classes to be processed.
|
void |
scan(String... basePackages)
Perform a scan within the specified base packages.
|
void register(Class<?>... annotatedClasses)
Calls to register
are idempotent; adding the same
annotated class more than once has no additional effect.
annotatedClasses
- one or more annotated classes,
e.g. @Configuration
classesvoid scan(String... basePackages)
basePackages
- the packages to check for annotated classes