JavaDoc on AnnotationConfigApplicationContext#scan(String...)

This commit is contained in:
Chris Beams 2009-12-15 07:24:12 +00:00
parent 83a7cb9177
commit 2764024351
1 changed files with 3 additions and 0 deletions

View File

@ -112,7 +112,10 @@ public class AnnotationConfigApplicationContext extends GenericApplicationContex
/** /**
* Perform a scan within the specified base packages. * Perform a scan within the specified base packages.
* Note that {@link AnnotationConfigApplicationContext#refresh()} must be
* called in order for the context to fully process the new class.
* @param basePackages the packages to check for annotated classes * @param basePackages the packages to check for annotated classes
* @see #refresh()
*/ */
public void scan(String... basePackages) { public void scan(String... basePackages) {
this.scanner.scan(basePackages); this.scanner.scan(basePackages);