Polishing

This commit is contained in:
Sam Brannen 2022-11-08 13:51:18 +01:00
parent 95f3337bb5
commit d0b162a76c
2 changed files with 15 additions and 10 deletions

View File

@ -323,7 +323,8 @@ public interface ListableBeanFactory extends BeanFactory {
* (at class, interface or factory method level of the specified bean) * (at class, interface or factory method level of the specified bean)
* @return the names of all matching beans * @return the names of all matching beans
* @since 4.0 * @since 4.0
* @see #findAnnotationOnBean * @see #getBeansWithAnnotation(Class)
* @see #findAnnotationOnBean(String, Class)
*/ */
String[] getBeanNamesForAnnotation(Class<? extends Annotation> annotationType); String[] getBeanNamesForAnnotation(Class<? extends Annotation> annotationType);
@ -338,8 +339,8 @@ public interface ListableBeanFactory extends BeanFactory {
* keys and the corresponding bean instances as values * keys and the corresponding bean instances as values
* @throws BeansException if a bean could not be created * @throws BeansException if a bean could not be created
* @since 3.0 * @since 3.0
* @see #findAnnotationOnBean * @see #findAnnotationOnBean(String, Class)
* @see #findAllAnnotationsOnBean(String, Class, boolean) * @see #findAnnotationOnBean(String, Class, boolean)
* @see #findAllAnnotationsOnBean(String, Class, boolean) * @see #findAllAnnotationsOnBean(String, Class, boolean)
*/ */
Map<String, Object> getBeansWithAnnotation(Class<? extends Annotation> annotationType) throws BeansException; Map<String, Object> getBeansWithAnnotation(Class<? extends Annotation> annotationType) throws BeansException;
@ -354,8 +355,10 @@ public interface ListableBeanFactory extends BeanFactory {
* @return the annotation of the given type if found, or {@code null} otherwise * @return the annotation of the given type if found, or {@code null} otherwise
* @throws NoSuchBeanDefinitionException if there is no bean with the given name * @throws NoSuchBeanDefinitionException if there is no bean with the given name
* @since 3.0 * @since 3.0
* @see #getBeanNamesForAnnotation * @see #findAnnotationOnBean(String, Class, boolean)
* @see #getBeansWithAnnotation * @see #findAllAnnotationsOnBean(String, Class, boolean)
* @see #getBeanNamesForAnnotation(Class)
* @see #getBeansWithAnnotation(Class)
* @see #getType(String) * @see #getType(String)
*/ */
@Nullable @Nullable
@ -374,8 +377,10 @@ public interface ListableBeanFactory extends BeanFactory {
* @return the annotation of the given type if found, or {@code null} otherwise * @return the annotation of the given type if found, or {@code null} otherwise
* @throws NoSuchBeanDefinitionException if there is no bean with the given name * @throws NoSuchBeanDefinitionException if there is no bean with the given name
* @since 5.3.14 * @since 5.3.14
* @see #getBeanNamesForAnnotation * @see #findAnnotationOnBean(String, Class)
* @see #getBeansWithAnnotation * @see #findAllAnnotationsOnBean(String, Class, boolean)
* @see #getBeanNamesForAnnotation(Class)
* @see #getBeansWithAnnotation(Class)
* @see #getType(String, boolean) * @see #getType(String, boolean)
*/ */
@Nullable @Nullable
@ -395,7 +400,7 @@ public interface ListableBeanFactory extends BeanFactory {
* @return the set of annotations of the given type found (potentially empty) * @return the set of annotations of the given type found (potentially empty)
* @throws NoSuchBeanDefinitionException if there is no bean with the given name * @throws NoSuchBeanDefinitionException if there is no bean with the given name
* @since 6.0 * @since 6.0
* @see #getBeanNamesForAnnotation * @see #getBeanNamesForAnnotation(Class)
* @see #findAnnotationOnBean(String, Class, boolean) * @see #findAnnotationOnBean(String, Class, boolean)
* @see #getType(String, boolean) * @see #getType(String, boolean)
*/ */

View File

@ -38,7 +38,7 @@ public interface BodyExtractor<T, M extends ReactiveHttpInputMessage> {
/** /**
* Extract from the given input message. * Extract from the given input message.
* @param inputMessage the request to extract from * @param inputMessage the message to extract from
* @param context the configuration to use * @param context the configuration to use
* @return the extracted data * @return the extracted data
*/ */
@ -52,7 +52,7 @@ public interface BodyExtractor<T, M extends ReactiveHttpInputMessage> {
/** /**
* Return the {@link HttpMessageReader HttpMessageReaders} to be used for body extraction. * Return the {@link HttpMessageReader HttpMessageReaders} to be used for body extraction.
* @return the stream of message readers * @return the list of message readers
*/ */
List<HttpMessageReader<?>> messageReaders(); List<HttpMessageReader<?>> messageReaders();