程序包 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 ofConfigurableEnvironmentallowing initialization of servlet-relatedPropertySourceobjects at the earliest moment that theServletContextand (optionally)ServletConfigbecome 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 forWebApplicationInitializerimplementations that register aContextLoaderListenerin the servlet context.ContextCleanupListener Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implementDisposableBeanand 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.