public interface AnnotationConfigRegistry
register(java.lang.Class<?>...)
and scan(java.lang.String...)
methods.Modifier and Type | Method and Description |
---|---|
void |
register(java.lang.Class<?>... annotatedClasses)
Register one or more annotated classes to be processed.
|
void |
scan(java.lang.String... basePackages)
Perform a scan within the specified base packages.
|
void register(java.lang.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(java.lang.String... basePackages)
basePackages
- the packages to check for annotated classes