# Package org.springframework.web.context

@NonNullApi @NonNullFields package org.springframework.web.context
Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.

Related Packages
Package
Description
org.springframework.web
Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.
org.springframework.web.context.annotation
Provides convenience annotations for web scopes.
org.springframework.web.context.request
Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.
org.springframework.web.context.support
Classes supporting the `org.springframework.web.context` package, such as WebApplicationContext implementations and various utility classes.
Class
Description
AbstractContextLoaderInitializer
Convenient base class for `WebApplicationInitializer` implementations that register a `ContextLoaderListener` in the servlet context.
ConfigurableWebApplicationContext
Interface to be implemented by configurable web application contexts.
ConfigurableWebEnvironment
Specialization of `ConfigurableEnvironment` allowing initialization of servlet-related `PropertySource` objects at the earliest moment that the `ServletContext` and (optionally) `ServletConfig` become available.
ContextCleanupListener
Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e.
ContextLoader
Performs the actual initialization work for the root application context.
ContextLoaderListener
Bootstrap listener to start up and shut down Spring's root `WebApplicationContext`.
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.
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.
WebApplicationContext
Interface to provide configuration for a web application.