From 15af0d9787212b272ab10156cfa29ffeaff8e331 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 7 Feb 2019 23:02:35 +0100 Subject: [PATCH] Polishing --- .../beans/factory/config/AutowireCapableBeanFactory.java | 6 ++++-- src/docs/asciidoc/web/webmvc.adoc | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/AutowireCapableBeanFactory.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/AutowireCapableBeanFactory.java index 6d17d6f161..4f0818c396 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/AutowireCapableBeanFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/AutowireCapableBeanFactory.java @@ -289,7 +289,8 @@ public interface AutowireCapableBeanFactory extends BeanFactory { * Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean * instance, invoking their {@code postProcessBeforeInitialization} methods. * The returned bean instance may be a wrapper around the original. - * @param existingBean the new bean instance + * @param existingBean the existing bean instance + * @param beanName the name of the bean, to be passed to it if necessary * (only passed to {@link BeanPostProcessor BeanPostProcessors}; * can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to * enforce the given instance to be returned, i.e. no proxies etc) @@ -305,7 +306,8 @@ public interface AutowireCapableBeanFactory extends BeanFactory { * Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean * instance, invoking their {@code postProcessAfterInitialization} methods. * The returned bean instance may be a wrapper around the original. - * @param existingBean the new bean instance + * @param existingBean the existing bean instance + * @param beanName the name of the bean, to be passed to it if necessary * (only passed to {@link BeanPostProcessor BeanPostProcessors}; * can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to * enforce the given instance to be returned, i.e. no proxies etc) diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index 56a6653866..7d9337cc40 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -229,9 +229,9 @@ The following table lists the special beans detected by the `DispatcherServlet`: The mapping is based on some criteria, the details of which vary by `HandlerMapping` implementation. - The two main `HandlerMapping` implementations are `RequestMappingHandlerMapping`( which - supports `@RequestMapping` annotated methods) and `SimpleUrlHandlerMapping` (which - maintains explicit registrations of URI path patterns to handlers). + The two main `HandlerMapping` implementations are `RequestMappingHandlerMapping` + (which supports `@RequestMapping` annotated methods) and `SimpleUrlHandlerMapping` + (which maintains explicit registrations of URI path patterns to handlers). | `HandlerAdapter` | Help the `DispatcherServlet` to invoke a handler mapped to a request, regardless of