public class ServletContextInitializedEvent
extends org.springframework.context.ApplicationEvent
Published right after initialization of Servlet and Application contexts. Enables to register custom
Servlets, Filters and Listeners manually.
| Constructor and Description |
|---|
ServletContextInitializedEvent(javax.servlet.ServletContext source) |
ServletContextInitializedEvent(javax.servlet.ServletContext source,
org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
javax.servlet.ServletContext |
getSource() |