Top Description Interfaces Classes
module spring.web

Package org.springframework.web.context

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConfigurableWebApplicationContext

Interface to be implemented by configurable web application contexts.

public interface
ConfigurableWebEnvironment

Specialization of ConfigurableEnvironment allowing initialization of servlet-related org.springframework.core.env.PropertySource objects at the earliest moment that the ServletContext and (optionally) ServletConfig become available.

public interface
ServletConfigAware

Interface to be implemented by any object that wishes to be notified of the ServletConfig (typically determined by the WebApplicationContext) that it runs in.

Note

Only satisfied if actually running within a Servlet-specific WebApplicationContext.

public interface
ServletContextAware

Interface to be implemented by any object that wishes to be notified of the ServletContext (typically determined by the WebApplicationContext) that it runs in.

public interface
WebApplicationContext

Interface to provide configuration for a web application.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractContextLoaderInitializer

Convenient base class for WebApplicationInitializer implementations that register a ContextLoaderListener in the servlet context.

public class
ContextCleanupListener

Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implement DisposableBean and haven't been removed before.

public class
ContextLoader

Performs the actual initialization work for the root application context.

public class
ContextLoaderListener

Bootstrap listener to start up and shut down Spring's root WebApplicationContext.