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