Example usage for javax.servlet ServletContextListener interface-usage

List of usage examples for javax.servlet ServletContextListener interface-usage

Introduction

In this page you can find the example usage for javax.servlet ServletContextListener interface-usage.

Usage

From source file blueprint.sdk.experimental.florist.db.ConnectionListener.java

/**
 * Create/Destroy JDBC Connection Pools<br>
 * Currently supports jakarta commons DBCP only<br>
 * Even though general JNDI DataSources can be used with blueprint.florist<br>
 * Add this ServletContextListener to web.xml<br>
 *

From source file edu.cornell.mannlib.vitro.webapp.servlet.setup.AssembleModelsSetup.java

/**
 * This is the beginning of a more sane and flexible model management system,
 * especially necessary for DataStaR.
 * Don't use it yet; it's going to change.
 * (That part is still insane, I know.)
 * @author bjl23

From source file org.kuali.kra.infrastructure.KraServiceLocatorListener.java

public class KraServiceLocatorListener implements ServletContextListener {
    private static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory
            .getLog(KraServiceLocatorListener.class);

    public void contextDestroyed(ServletContextEvent sce) {

From source file org.guzz.web.context.ContextLoaderListener.java

/**
 * 
 * load guzz framework
 *
 * @author liukaixuan(liukaixuan@gmail.com)
 */

From source file com.ning.jetty.core.listeners.SetupJULBridge.java

/**
 * Takes java.util.logging and redirects it into slf4j
 */
public class SetupJULBridge implements ServletContextListener {
    @Override
    public void contextInitialized(final ServletContextEvent event) {

From source file com.wsl.marketconsolescraper.logic.ScrapeScheduler.java

/**
 * Schedules the timer that starts the market console scraper regularly.
 * 
 * @author lance
 */
public class ScrapeScheduler implements ServletContextListener {

From source file org.springframework.amqp.rabbit.stocks.web.EnvironmentContextListener.java

/**
 * @author Dave Syer
 * 
 */
public class EnvironmentContextListener implements ServletContextListener {

From source file net.sf.ehcache.constructs.web.ShutdownListener.java

/**
 * A ServletContextListener that shutsdown CacheManager. Use this when you want to shutdown
 * ehcache automatically when the web application is shutdown. If the web application is in
 * a VM which is being shutdown, the ehcache shutdown hooks will do the work and this class
 * is not required.
 * <p/>

From source file com.ning.metrics.meteo.server.SetupJULBridge.java

/**
 * Takes java.util.logging and redirects it into log4j.
 */
public class SetupJULBridge implements ServletContextListener {
    private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(SetupJULBridge.class);

From source file org.onehippo.forge.solr.indexer.servlet.SolrConfigContextListener.java

/**
 * @author Woonsan Ko
 * @version $Id$
 */
public final class SolrConfigContextListener implements ServletContextListener {