Polish WebApplicationInitializer Javadoc

This commit is contained in:
Chris Beams 2011-05-31 06:42:36 +00:00
parent 14d50e3482
commit c3675b44b4
2 changed files with 9 additions and 9 deletions

View File

@ -40,10 +40,10 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
* {@code web.xml}-based approach.
*
* <h2>Mechanism of Operation</h2>
* This class will be loaded and instantiated and have its {@link #onStartup} method
* invoked by any Servlet 3.0-compliant container during container startup assuming that
* the {@code spring-web} module JAR is present on the classpath. This occurs through the
* JAR Services API {@link ServiceLoader#load(Class)} method detecting the
* This class will be loaded and instantiated and have its {@link #onStartup onStartup}
* method invoked by any Servlet 3.0-compliant container during container startup assuming
* that the {@code spring-web} module JAR is present on the classpath. This occurs through
* the JAR Services API {@link ServiceLoader#load(Class)} method detecting the
* {@code spring-web} module's {@code META-INF/services/javax.servlet.ServletContainerInitializer}
* service provider configuration file. See the
* <a href="http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider">
@ -66,7 +66,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
* {@code WebApplicationInitializer} implementations. It is then the responsibility of
* each {@code WebApplicationInitializer} to do the actual work of initializing the
* {@code ServletContext}. The exact process of delegation is described in detail in the
* {@link #onStartup} documentation below.
* {@link #onStartup onStartup} documentation below.
*
* <h2>General Notes</h2>
* In general, this class should be viewed as <em>supporting infrastructure</em> for

View File

@ -24,10 +24,10 @@ import javax.servlet.ServletException;
* {@link ServletContext} programmatically -- as opposed to (or possibly in conjunction
* with) the traditional {@code web.xml}-based approach.
*
* <p>Implementations of this SPI will be detected automatically by the
* {@link SpringServletContainerInitializer}, which itself is automatically bootstrapped
* by Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its Javadoc}
* for details on this bootstrapping mechanism.
* <p>Implementations of this SPI will be detected automatically by {@link
* SpringServletContainerInitializer}, which itself is bootstrapped automatically
* by any Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its
* Javadoc} for details on this bootstrapping mechanism.
*
* <h2>Example</h2>
* <h3>The traditional, XML-based approach</h3>