Merge pull request #27852 from xixingya
* pr/27852: Polish "Fix typo and use of componentry" Fix typo and use of componentry Closes gh-27852
This commit is contained in:
commit
eb5022924e
|
@ -133,7 +133,7 @@ import org.springframework.core.Ordered;
|
||||||
* setting of the <em>thread name prefix</em> of the {@code Executor}; this is because
|
* setting of the <em>thread name prefix</em> of the {@code Executor}; this is because
|
||||||
* the {@code <task:executor>} element does not expose such an attribute. This
|
* the {@code <task:executor>} element does not expose such an attribute. This
|
||||||
* demonstrates how the JavaConfig-based approach allows for maximum configurability
|
* demonstrates how the JavaConfig-based approach allows for maximum configurability
|
||||||
* through direct access to actual componentry.
|
* through direct access to the actual component.
|
||||||
*
|
*
|
||||||
* <p>The {@link #mode} attribute controls how advice is applied: If the mode is
|
* <p>The {@link #mode} attribute controls how advice is applied: If the mode is
|
||||||
* {@link AdviceMode#PROXY} (the default), then the other attributes control the behavior
|
* {@link AdviceMode#PROXY} (the default), then the other attributes control the behavior
|
||||||
|
|
|
@ -180,7 +180,7 @@ import org.springframework.scheduling.config.ScheduledTaskRegistrar;
|
||||||
* instead of a custom <em>{@code Trigger}</em> implementation; this is because the
|
* instead of a custom <em>{@code Trigger}</em> implementation; this is because the
|
||||||
* {@code task:} namespace {@code scheduled} cannot easily expose such support. This is
|
* {@code task:} namespace {@code scheduled} cannot easily expose such support. This is
|
||||||
* but one demonstration how the code-based approach allows for maximum configurability
|
* but one demonstration how the code-based approach allows for maximum configurability
|
||||||
* through direct access to actual componentry.
|
* through direct access to the actual component.
|
||||||
*
|
*
|
||||||
* <p><b>Note: {@code @EnableScheduling} applies to its local application context only,
|
* <p><b>Note: {@code @EnableScheduling} applies to its local application context only,
|
||||||
* allowing for selective scheduling of beans at different levels.</b> Please redeclare
|
* allowing for selective scheduling of beans at different levels.</b> Please redeclare
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2020 the original author or authors.
|
* Copyright 2002-2021 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.
|
||||||
|
@ -23,7 +23,7 @@ import org.springframework.lang.Nullable;
|
||||||
/**
|
/**
|
||||||
* Specialization of {@link PathContainer} that sub-divides the path into a
|
* Specialization of {@link PathContainer} that sub-divides the path into a
|
||||||
* {@link #contextPath()} and the remaining {@link #pathWithinApplication()}.
|
* {@link #contextPath()} and the remaining {@link #pathWithinApplication()}.
|
||||||
* The lattery is typically used for request mapping within the application
|
* The latter is typically used for request mapping within the application
|
||||||
* while the former is useful when preparing external links that point back to
|
* while the former is useful when preparing external links that point back to
|
||||||
* the application.
|
* the application.
|
||||||
*
|
*
|
||||||
|
|
|
@ -129,7 +129,7 @@ public class SpringServletContainerInitializer implements ServletContainerInitia
|
||||||
* method will be invoked on each instance, delegating the {@code ServletContext} such
|
* method will be invoked on each instance, delegating the {@code ServletContext} such
|
||||||
* that each instance may register and configure servlets such as Spring's
|
* that each instance may register and configure servlets such as Spring's
|
||||||
* {@code DispatcherServlet}, listeners such as Spring's {@code ContextLoaderListener},
|
* {@code DispatcherServlet}, listeners such as Spring's {@code ContextLoaderListener},
|
||||||
* or any other Servlet API componentry such as filters.
|
* or any other Servlet API features such as filters.
|
||||||
* @param webAppInitializerClasses all implementations of
|
* @param webAppInitializerClasses all implementations of
|
||||||
* {@link WebApplicationInitializer} found on the application classpath
|
* {@link WebApplicationInitializer} found on the application classpath
|
||||||
* @param servletContext the servlet context to be initialized
|
* @param servletContext the servlet context to be initialized
|
||||||
|
|
Loading…
Reference in New Issue