Browse Source

Polishing

pull/24316/head
Sam Brannen 5 years ago
parent
commit
e1fb4a1966
  1. 13
      spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java

13
spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2019 the original author or authors. * Copyright 2002-2020 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -32,15 +32,12 @@ import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
/** /**
* {@link org.springframework.beans.factory.support.BeanNameGenerator} * {@link BeanNameGenerator} implementation for bean classes annotated with the
* implementation for bean classes annotated with the * {@link org.springframework.stereotype.Component @Component} annotation or
* {@link org.springframework.stereotype.Component @Component} annotation * with another annotation that is itself annotated with {@code @Component} as a
* or with another annotation that is itself annotated with
* {@link org.springframework.stereotype.Component @Component} as a
* meta-annotation. For example, Spring's stereotype annotations (such as * meta-annotation. For example, Spring's stereotype annotations (such as
* {@link org.springframework.stereotype.Repository @Repository}) are * {@link org.springframework.stereotype.Repository @Repository}) are
* themselves annotated with * themselves annotated with {@code @Component}.
* {@link org.springframework.stereotype.Component @Component}.
* *
* <p>Also supports Java EE 6's {@link javax.annotation.ManagedBean} and * <p>Also supports Java EE 6's {@link javax.annotation.ManagedBean} and
* JSR-330's {@link javax.inject.Named} annotations, if available. Note that * JSR-330's {@link javax.inject.Named} annotations, if available. Note that

Loading…
Cancel
Save