@Override public void contextDestroyed(ServletContextEvent sce) { if (isOriginalListenerUsed) { // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }
@Override public void contextDestroyed(ServletContextEvent sce) { if (isOriginalListenerUsed) { // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }
@Override public void contextDestroyed(ServletContextEvent sce) { if (isOriginalListenerUsed) { // Do not shutdown Weld if org.jboss.weld.environment.servlet.Listener is registered return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }
@Override public void contextDestroyed(ServletContextEvent sce) { if (lifecycle == null) { if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) { // This should never happen WeldServletLogger.LOG.noServletLifecycleToDestroy(); } return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }
@Override public void contextDestroyed(ServletContextEvent sce) { if (lifecycle == null) { if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) { // This should never happen WeldServletLogger.LOG.noServletLifecycleToDestroy(); } return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }
@Override public void contextDestroyed(ServletContextEvent sce) { if (lifecycle == null) { if (!Boolean.TRUE.equals(sce.getServletContext().getAttribute(EnhancedListener.ENHANCED_LISTENER_USED_ATTRIBUTE_NAME))) { // This should never happen WeldServletLogger.LOG.noServletLifecycleToDestroy(); } return; } super.contextDestroyed(sce); lifecycle.destroy(sce.getServletContext()); }