public void contextDestroyed(ServletContextEvent event){
  for (Enumeration e=servletContext.getAttributeNames(); e.hasMoreElements(); ) {
    String beanName=(String)e.nextElement();
    handleAttributeEvent(beanName,servletContext.getAttribute(beanName),ELUtils.Scope.APPLICATION);
  }
  this.applicationAssociate=null;
}

public void contextDestroyed ( ServletContextEvent event ) { for ( Enumeration e = servletContext . getAttributeNames ( ) ; e . hasMoreElements ( ) ; ) { String beanName = ( String ) e . nextElement ( ) ; handleAttributeEvent ( beanName , servletContext . getAttribute ( beanName ) , ELUtils . Scope . APPLICATION ) ; } this . applicationAssociate = null ; }
notification that the servlet context is about to be shut down . all servlets and filters have been destroy ( ) ed before any servletcontextlisteners are notified of context destruction .
