Package org.springframework.web.context
Interface ServletContextAware
- All Superinterfaces:
Aware
- All Known Implementing Classes:
AbstractAtomFeedView
,AbstractCachingViewResolver
,AbstractController
,AbstractDetectingUrlHandlerMapping
,AbstractFeedView
,AbstractHandlerMapping
,AbstractHandlerMethodAdapter
,AbstractHandlerMethodMapping
,AbstractJackson2View
,AbstractPdfStamperView
,AbstractPdfView
,AbstractRequestLoggingFilter
,AbstractRssFeedView
,AbstractTemplateView
,AbstractTemplateViewResolver
,AbstractUrlBasedView
,AbstractUrlHandlerMapping
,AbstractUrlViewController
,AbstractView
,AbstractXlsView
,AbstractXlsxStreamingView
,AbstractXlsxView
,BeanNameUrlHandlerMapping
,BeanNameViewResolver
,CharacterEncodingFilter
,CommonsRequestLoggingFilter
,ContentNegotiatingViewResolver
,ContentNegotiationManagerFactoryBean
,CorsFilter
,DefaultHandshakeHandler
,DefaultServletHttpRequestHandler
,DefaultSockJsService
,DelegatingFilterProxy
,DelegatingWebMvcConfiguration
,FormContentFilter
,ForwardedHeaderFilter
,FreeMarkerView
,FreeMarkerViewResolver
,GenericFilterBean
,GroovyMarkupView
,GroovyMarkupViewResolver
,HiddenHttpMethodFilter
,InternalResourceView
,InternalResourceViewResolver
,JstlView
,MappingJackson2JsonView
,MappingJackson2XmlView
,MarshallingView
,MultipartFilter
,OncePerRequestFilter
,OpenEntityManagerInViewFilter
,OpenSessionInViewFilter
,ParameterizableViewController
,RedirectView
,RelativeRedirectFilter
,RequestContextFilter
,RequestMappingHandlerAdapter
,RequestMappingHandlerMapping
,RequestMappingInfoHandlerMapping
,ResourceBundleViewResolver
,ResourceHttpRequestHandler
,ResourceUrlEncodingFilter
,RouterFunctionMapping
,ScriptTemplateView
,ScriptTemplateViewResolver
,ServerEndpointExporter
,ServerHttpObservationFilter
,ServletContextAttributeExporter
,ServletContextAttributeFactoryBean
,ServletContextParameterFactoryBean
,ServletContextRequestLoggingFilter
,ServletForwardingController
,ServletServerContainerFactoryBean
,ServletWrappingController
,ShallowEtagHeaderFilter
,SimpleServletPostProcessor
,SimpleUrlHandlerMapping
,SockJsHttpRequestHandler
,UrlBasedViewResolver
,UrlFilenameViewController
,ViewResolverComposite
,WebApplicationObjectSupport
,WebContentGenerator
,WebContentInterceptor
,WebMvcConfigurationSupport
,WebSocketHandlerMapping
,WebSocketHttpRequestHandler
,WebSocketTransportHandler
,XmlViewResolver
,XsltView
,XsltViewResolver
Interface to be implemented by any object that wishes to be notified of the
ServletContext
(typically determined by the WebApplicationContext
)
that it runs in.- Since:
- 12.03.2004
- Author:
- Juergen Hoeller, Chris Beams
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setServletContext
(ServletContext servletContext) Set theServletContext
that this object runs in.
-
Method Details
-
setServletContext
Set theServletContext
that this object runs in.Invoked after population of normal bean properties but before an init callback like InitializingBean's
afterPropertiesSet
or a custom init-method. Invoked after ApplicationContextAware'ssetApplicationContext
.- Parameters:
servletContext
- the ServletContext object to be used by this object- See Also:
-