public class ServletContextDestroyedEvent
extends org.springframework.context.ApplicationEvent
Published when Servlet and Application are about to be shut down. Enables to free resources manually.
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
Constructor and Description |
---|
ServletContextDestroyedEvent(javax.servlet.ServletContext source) |
ServletContextDestroyedEvent(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