@ManagedBean coverage in javadoc
This commit is contained in:
parent
cb9619f62b
commit
6635a5d96d
|
|
@ -39,7 +39,9 @@ import org.springframework.util.StringUtils;
|
||||||
* themselves annotated with
|
* themselves annotated with
|
||||||
* {@link org.springframework.stereotype.Component @Component}.
|
* {@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
|
* <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
|
* name will be built based on the short name of the class (with the first
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,9 @@ import org.springframework.util.PatternMatchUtils;
|
||||||
* {@link org.springframework.stereotype.Service @Service}, or
|
* {@link org.springframework.stereotype.Service @Service}, or
|
||||||
* {@link org.springframework.stereotype.Controller @Controller} stereotype.
|
* {@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 Mark Fisher
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 2.5
|
* @since 2.5
|
||||||
|
|
|
||||||
|
|
@ -160,10 +160,13 @@ public class ClassPathScanningCandidateComponentProvider implements ResourceLoad
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register the default filter for {@link Component @Component}.
|
* 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 Component @Component} meta-annotation including the
|
||||||
* {@link Repository @Repository}, {@link Service @Service}, and
|
* {@link Repository @Repository}, {@link Service @Service}, and
|
||||||
* {@link Controller @Controller} stereotype annotations.
|
* {@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")
|
@SuppressWarnings("unchecked")
|
||||||
protected void registerDefaultFilters() {
|
protected void registerDefaultFilters() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue