| org.springframework.web.context.ServletConfigAware |
Known Indirect Subclasses
| |||||||||||||
Interface to be implemented by any object that wishes to be notified of the ServletConfig (typically determined by the WebApplicationContext) that it runs in.
Only satisfied if actually running within a Servlet-specific WebApplicationContext. If this callback interface is encountered elsewhere, an exception will be thrown on bean creation.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Set the ServletConfig that this object runs in.
| |||||||||||
Set the ServletConfig 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's
setApplicationContext.
| servletConfig | ServletConfig object to be used by this object |
|---|
