Interface AnnotationConfigRegistry
- All Known Implementing Classes:
- AnnotationConfigApplicationContext,- AnnotationConfigWebApplicationContext
public interface AnnotationConfigRegistry
Common interface for annotation config application contexts,
 defining 
register(java.lang.Class<?>...) and scan(java.lang.String...) methods.- Since:
- 4.1
- Author:
- Juergen Hoeller
- 
Method Summary
- 
Method Details- 
registerRegister one or more component classes to be processed.Calls to registerare idempotent; adding the same component class more than once has no additional effect.- Parameters:
- componentClasses- one or more component classes, e.g.- @Configurationclasses
 
- 
scanPerform a scan within the specified base packages.- Parameters:
- basePackages- the packages to scan for component classes
 
 
-