Browse Source

@ManagedBean coverage in javadoc

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2648 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Juergen Hoeller 16 years ago
parent
commit
9efda7f94b
  1. 4
      org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java
  2. 3
      org.springframework.context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java
  3. 5
      org.springframework.context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java

4
org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java

@ -39,7 +39,9 @@ import org.springframework.util.StringUtils; @@ -39,7 +39,9 @@ import org.springframework.util.StringUtils;
* themselves annotated with
* {@link org.springframework.stereotype.Component @Component}.
*
* <p>Also supports JSR-330's {@link javax.inject.Named} annotation, if available.
* <p>Also supports Java EE 6's {@link javax.annotation.ManagedBean} and
* JSR-330's {@link javax.inject.Named} annotations, if available. Note that
* Spring component annotations always override such standard annotations.
*
* <p>If the annotation's value doesn't indicate a bean name, an appropriate
* name will be built based on the short name of the class (with the first

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

@ -43,6 +43,9 @@ import org.springframework.util.PatternMatchUtils; @@ -43,6 +43,9 @@ import org.springframework.util.PatternMatchUtils;
* {@link org.springframework.stereotype.Service @Service}, or
* {@link org.springframework.stereotype.Controller @Controller} stereotype.
*
* <p>Also supports Java EE 6's {@link javax.annotation.ManagedBean} and
* JSR-330's {@link javax.inject.Named} annotations, if available.
*
* @author Mark Fisher
* @author Juergen Hoeller
* @since 2.5

5
org.springframework.context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java

@ -160,10 +160,13 @@ public class ClassPathScanningCandidateComponentProvider implements ResourceLoad @@ -160,10 +160,13 @@ public class ClassPathScanningCandidateComponentProvider implements ResourceLoad
/**
* Register the default filter for {@link Component @Component}.
* This will implicitly register all annotations that have the
* <p>This will implicitly register all annotations that have the
* {@link Component @Component} meta-annotation including the
* {@link Repository @Repository}, {@link Service @Service}, and
* {@link Controller @Controller} stereotype annotations.
* <p>Also supports Java EE 6's {@link javax.annotation.ManagedBean} and
* JSR-330's {@link javax.inject.Named} annotations, if available.
*
*/
@SuppressWarnings("unchecked")
protected void registerDefaultFilters() {

Loading…
Cancel
Save