public interface ServletContextAware extends Aware
ServletConfigAware
Modifier and Type | Method and Description |
---|---|
void |
setServletContext(javax.servlet.ServletContext servletContext)
Set the ServletContext that this object runs in.
|
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 objectInitializingBean.afterPropertiesSet()
,
ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)
Copyright © 2014. All Rights Reserved.