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.
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
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() |
protected org.springframework.context.ApplicationContext applicationContext