Browse Source

JavaDoc on AnnotationConfigApplicationContext#scan(String...)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2666 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Chris Beams 16 years ago
parent
commit
45ec0d2086
  1. 3
      org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java

3
org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java

@ -112,7 +112,10 @@ public class AnnotationConfigApplicationContext extends GenericApplicationContex @@ -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);

Loading…
Cancel
Save