程序包 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.
接口概要 接口 说明 ConfigurableWebApplicationContext Interface to be implemented by configurable web application contexts.ConfigurableWebEnvironment Specialization ofConfigurableEnvironment
allowing initialization of servlet-relatedPropertySource
objects at the earliest moment that theServletContext
and (optionally)ServletConfig
become available.ServletConfigAware Interface to be implemented by any object that wishes to be notified of theServletConfig
(typically determined by theWebApplicationContext
) that it runs in.ServletContextAware Interface to be implemented by any object that wishes to be notified of theServletContext
(typically determined by theWebApplicationContext
) that it runs in.WebApplicationContext Interface to provide configuration for a web application.类概要 类 说明 AbstractContextLoaderInitializer Convenient base class forWebApplicationInitializer
implementations that register aContextLoaderListener
in the servlet context.ContextCleanupListener Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implementDisposableBean
and haven't been removed before.ContextLoader Performs the actual initialization work for the root application context.ContextLoaderListener Bootstrap listener to start up and shut down Spring's rootWebApplicationContext
.