Examples of contextDestroyed()


Examples of org.apache.commons.chain.web.ChainListener.contextDestroyed()

        required = cityConfigBean.getAttribute("required");
        assertNotNull("required", required);
        assertEquals("required", "false", required.getValue());
       
        // just because we can
        chainsListener.contextDestroyed(servletContextEvent);
    }
   
    private ComponentBean findForId(String id, ComponentBean root) {
        if (root.getId() != null && root.getId().equals(id)) {
           return root;
View Full Code Here

Examples of org.apache.commons.logging.impl.ServletContextCleaner.contextDestroyed()

     * Test that calling ServletContextCleaner.contextDestroyed doesn't crash.
     * Testing anything else is rather difficult...
     */
    public void testBasics() {
        ServletContextCleaner scc = new ServletContextCleaner();
        scc.contextDestroyed(null);
    }
}
View Full Code Here

Examples of org.directwebremoting.extend.UninitializingBean.contextDestroyed()

            Object bean = getBean(beanName);
            if (bean instanceof UninitializingBean && !(bean instanceof Container))
            {
                UninitializingBean scl = (UninitializingBean) bean;
                Loggers.STARTUP.debug("- For contained bean: " + beanName);
                scl.contextDestroyed();
            }
        }
    }

    /* (non-Javadoc)
 
View Full Code Here

Examples of org.h2.server.web.DbStarter.contextDestroyed()

        assertThrows(ErrorCode.TABLE_OR_VIEW_NOT_FOUND_1, stat1).
                execute("SELECT * FROM T");
        conn2.close();

        listener.contextDestroyed(event);

        // listener must be stopped
        assertThrows(ErrorCode.CONNECTION_BROKEN_1, this).
                getConnection("jdbc:h2:tcp://localhost:8888/" + getBaseDir() + "/servlet", getUser(), getPassword());

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.