Polish WebApplicationInitializer Javadoc
This commit is contained in:
parent
14d50e3482
commit
c3675b44b4
|
|
@ -40,10 +40,10 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
|
||||||
* {@code web.xml}-based approach.
|
* {@code web.xml}-based approach.
|
||||||
*
|
*
|
||||||
* <h2>Mechanism of Operation</h2>
|
* <h2>Mechanism of Operation</h2>
|
||||||
* This class will be loaded and instantiated and have its {@link #onStartup} method
|
* This class will be loaded and instantiated and have its {@link #onStartup onStartup}
|
||||||
* invoked by any Servlet 3.0-compliant container during container startup assuming that
|
* method invoked by any Servlet 3.0-compliant container during container startup assuming
|
||||||
* the {@code spring-web} module JAR is present on the classpath. This occurs through the
|
* that the {@code spring-web} module JAR is present on the classpath. This occurs through
|
||||||
* JAR Services API {@link ServiceLoader#load(Class)} method detecting the
|
* the JAR Services API {@link ServiceLoader#load(Class)} method detecting the
|
||||||
* {@code spring-web} module's {@code META-INF/services/javax.servlet.ServletContainerInitializer}
|
* {@code spring-web} module's {@code META-INF/services/javax.servlet.ServletContainerInitializer}
|
||||||
* service provider configuration file. See the
|
* service provider configuration file. See the
|
||||||
* <a href="http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider">
|
* <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
|
* {@code WebApplicationInitializer} implementations. It is then the responsibility of
|
||||||
* each {@code WebApplicationInitializer} to do the actual work of initializing the
|
* each {@code WebApplicationInitializer} to do the actual work of initializing the
|
||||||
* {@code ServletContext}. The exact process of delegation is described in detail in 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>
|
* <h2>General Notes</h2>
|
||||||
* In general, this class should be viewed as <em>supporting infrastructure</em> for
|
* In general, this class should be viewed as <em>supporting infrastructure</em> for
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@ import javax.servlet.ServletException;
|
||||||
* {@link ServletContext} programmatically -- as opposed to (or possibly in conjunction
|
* {@link ServletContext} programmatically -- as opposed to (or possibly in conjunction
|
||||||
* with) the traditional {@code web.xml}-based approach.
|
* with) the traditional {@code web.xml}-based approach.
|
||||||
*
|
*
|
||||||
* <p>Implementations of this SPI will be detected automatically by the
|
* <p>Implementations of this SPI will be detected automatically by {@link
|
||||||
* {@link SpringServletContainerInitializer}, which itself is automatically bootstrapped
|
* SpringServletContainerInitializer}, which itself is bootstrapped automatically
|
||||||
* by Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its Javadoc}
|
* by any Servlet 3.0 container. See {@linkplain SpringServletContainerInitializer its
|
||||||
* for details on this bootstrapping mechanism.
|
* Javadoc} for details on this bootstrapping mechanism.
|
||||||
*
|
*
|
||||||
* <h2>Example</h2>
|
* <h2>Example</h2>
|
||||||
* <h3>The traditional, XML-based approach</h3>
|
* <h3>The traditional, XML-based approach</h3>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue