From 45ec0d2086e68f3978e32f94e0ef54a401624c7a Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Tue, 15 Dec 2009 07:24:12 +0000 Subject: [PATCH] JavaDoc on AnnotationConfigApplicationContext#scan(String...) git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2666 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../context/annotation/AnnotationConfigApplicationContext.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java b/org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java index 0b0a9053c46..2427d6c174e 100644 --- a/org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java +++ b/org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java @@ -112,7 +112,10 @@ public class AnnotationConfigApplicationContext extends GenericApplicationContex /** * 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 + * @see #refresh() */ public void scan(String... basePackages) { this.scanner.scan(basePackages);