spring-framework / org.springframework.web.context / ServletConfigAware / setServletConfig

setServletConfig

abstract fun setServletConfig(servletConfig: ServletConfig): Unit

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.

Parameters

servletConfig - ServletConfig object to be used by this object

See Also
org.springframework.beans.factory.InitializingBean#afterPropertiesSetorg.springframework.context.ApplicationContextAware#setApplicationContext