public void attributeAdded(HttpSessionBindingEvent event) { _detroyerListener.attributeAdded(event); }
public void attributeRemoved(HttpSessionBindingEvent event) { _detroyerListener.attributeRemoved(event); }
public void attributeReplaced(ServletContextAttributeEvent event) { _detroyerListener.attributeReplaced(event); }
listener.setManagedBeanDestroyer(mbDestroyer);
public void sessionCreated(HttpSessionEvent event) { _detroyerListener.sessionCreated(event); }
public void requestInitialized(ServletRequestEvent event) { _detroyerListener.requestInitialized(event); }
public void sessionDestroyed(HttpSessionEvent event) { _detroyerListener.sessionDestroyed(event); }
public void requestDestroyed(ServletRequestEvent event) { _detroyerListener.requestDestroyed(event); }
public void contextDestroyed(ServletContextEvent event) { if (_facesInitializer != null && _servletContext != null) { // Create startup FacesContext before start undeploy FacesContext facesContext = _facesInitializer.initShutdownFacesContext(_servletContext); dispatchInitializationEvent(event, FACES_INIT_PHASE_PREDESTROY); // call contextDestroyed on ManagedBeanDestroyerListener to destroy the attributes _detroyerListener.contextDestroyed(event); _facesInitializer.destroyFaces(_servletContext); LifecycleProviderFactory.getLifecycleProviderFactory().release(); // Destroy startup FacesContext, but note we do before publish postdestroy event on // plugins and before release factories. if (facesContext != null) { _facesInitializer.destroyShutdownFacesContext(facesContext); } FactoryFinder.releaseFactories(); //DiscoverSingleton.release(); //clears EnvironmentCache and prevents leaking classloader references dispatchInitializationEvent(event, FACES_INIT_PHASE_POSTDESTROY); } _servletContext = null; }
_detroyerListener.contextInitialized(event);
listener.setManagedBeanDestroyer(mbDestroyer);
public void sessionCreated(HttpSessionEvent event) { _detroyerListener.sessionCreated(event); }
public void requestInitialized(ServletRequestEvent event) { _detroyerListener.requestInitialized(event); }
public void sessionDestroyed(HttpSessionEvent event) { _detroyerListener.sessionDestroyed(event); }
public void requestDestroyed(ServletRequestEvent event) { _detroyerListener.requestDestroyed(event); }
public void contextDestroyed(ServletContextEvent event) { if (_facesInitializer != null && _servletContext != null) { // Create startup FacesContext before start undeploy FacesContext facesContext = _facesInitializer.initShutdownFacesContext(_servletContext); dispatchInitializationEvent(event, FACES_INIT_PHASE_PREDESTROY); // call contextDestroyed on ManagedBeanDestroyerListener to destroy the attributes _detroyerListener.contextDestroyed(event); _facesInitializer.destroyFaces(_servletContext); LifecycleProviderFactory.getLifecycleProviderFactory().release(); // Destroy startup FacesContext, but note we do before publish postdestroy event on // plugins and before release factories. if (facesContext != null) { _facesInitializer.destroyShutdownFacesContext(facesContext); } FactoryFinder.releaseFactories(); //DiscoverSingleton.release(); //clears EnvironmentCache and prevents leaking classloader references dispatchInitializationEvent(event, FACES_INIT_PHASE_POSTDESTROY); } _servletContext = null; }
_detroyerListener.contextInitialized(event);
listener.setManagedBeanDestroyer(mbDestroyer);
public void attributeAdded(ServletRequestAttributeEvent event) { _detroyerListener.attributeAdded(event); }
public void attributeRemoved(ServletContextAttributeEvent event) { _detroyerListener.attributeRemoved(event); }