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 com.excilys.ebi.spring.dbunit.servlet.DataLoaderListener.java

/**
 * @author <a href="mailto:slandelle@excilys.com">Stephane LANDELLE</a>
 */
public class DataLoaderListener implements ServletContextListener {

    private static final Logger LOGGER = LoggerFactory.getLogger(DataLoaderListener.class);

From source file org.codehaus.groovy.grails.web.util.Log4jConfigListener.java

/**
 * A listener that will configure Log4j in WAR deployment using Grails Log4j DSL
 *
 * @author Graeme Rocher
 * @since 1.1
 *        <p/>

From source file org.infoglue.calendar.util.CalendarContextListener.java

/**
* This class functions as the entry-point for all initialization of the Cms-tool.
* The class responds to the startup or reload of a whole context.
*/

public final class CalendarContextListener implements ServletContextListener {

From source file org.pentaho.platform.web.http.context.HsqldbStartupListener.java

public class HsqldbStartupListener implements ServletContextListener {

    private static final Log logger = LogFactory.getLog(HsqldbStartupListener.class);

    public void contextDestroyed(ServletContextEvent sce) {
        ServletContext ctx = sce.getServletContext();

From source file com.geodan.ngr.serviceintegration.listener.ApplicationListener.java

/**
 *
 * 
 * @author heikki doeleman - heikki.doeleman@geocat.net
 *
 */

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

/**
 * Setups the Application Configuration TBox and ABox.  This is sometimes
 * called the display model.
 * 
 * @author bdc34
 */

From source file org.cipango.sipatra.DefaultContextLoader.java

public class DefaultContextLoader implements ServletContextListener {
    private static final Logger _log = org.slf4j.LoggerFactory.getLogger(DefaultContextLoader.class);

    public void contextInitialized(ServletContextEvent sce) {
        ServletContext servletContext = sce.getServletContext();

From source file org.parancoe.web.ContextListener.java

/**
 * A context listener for initializing the Spring context.
 *
 * @author paolo.dona@seesaw.it
 * @author <a href="mailto:lucio.benfante@jugpadova.it">Lucio Benfante</a>
 * @author Jacopo Murador <jacopo.murador at seesaw.it>

From source file org.wso2.carbon.device.mgt.iot.arduino.service.impl.listener.ArduinoPermissionUpdateListener.java

public class ArduinoPermissionUpdateListener implements ServletContextListener {

    private static Log log = LogFactory.getLog(ArduinoPermissionUpdateListener.class);
    private static PrivilegedCarbonContext threadLocalCarbonContext;
    private static RealmService realmService;

From source file net.sf.click.jquery.examples.util.StartupListener.java

/**
 * Initializes application data upon startup.
 */
public class StartupListener implements ServletContextListener {

    private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyy-MM-dd");