|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by any object that wishes to be notified of the ServletContext (typically determined by the WebApplicationContext) that it runs in.
Can be implemented instead of ApplicationContextAware (casting the context to WebApplicationContext) if all an object needs is a reference to the ServletContext.
ApplicationContextAware
Method Summary | |
void |
setServletContext(javax.servlet.ServletContext servletContext)
Set the ServletContext that this object runs in. |
Method Detail |
public void setServletContext(javax.servlet.ServletContext servletContext)
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.
servletContext
- ServletContext object to be used by this object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |