public class

ContextCleanupListener

extends Object
implements ServletContextListener
java.lang.Object
   ↳ org.springframework.web.context.ContextCleanupListener

Class Overview

Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implement DisposableBean and haven't been removed before. This is typically used for destroying objects in "application" scope, for which the lifecycle implies destruction at the very end of the web application's shutdown phase.

Summary

Public Constructors
ContextCleanupListener()
Public Methods
void contextDestroyed(ServletContextEvent event)
void contextInitialized(ServletContextEvent event)
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.servlet.ServletContextListener

Public Constructors

public ContextCleanupListener ()

Public Methods

public void contextDestroyed (ServletContextEvent event)

public void contextInitialized (ServletContextEvent event)