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 es.uvigo.ei.sing.gc.GeneCommitteeLifeCycle.java

public class GeneCommitteeLifeCycle implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent event) {
        System.setProperty("sing.data", "disk");
        System.setProperty("sing.data.stringbytes", "124");

From source file com.tcloud.bee.key.server.jetty.config.WebAppInitializer.java

/**
 * ?web.xml 
 * 
 * @author howie_yu
 * 
 */

From source file org.ohmage.jee.listener.ConfigurationFileImport.java

/**
 * <p>
 * Attempts to read the configuration file, if it exists, and stores it. Any
 * number of the configuration options may be chosen, and all users of this
 * class should have a default in place.
 * </p>

From source file heigit.ors.servlet.listeners.ORSInitContextListener.java

@WebListener
public class ORSInitContextListener implements ServletContextListener {
    private static final Logger LOGGER = LoggerFactory.getLogger("heigit.ors.logging");

    public void contextInitialized(ServletContextEvent contextEvent) {
        Runnable runnable = () -> {

From source file org.encuestame.init.EnMeContext.java

/**
 * Initialize encuestame context.
 * Extend spring {@link ContextLoaderListener}.
 * @au thor Picado, Juan juanATencuestame.org
 * @since Mar 19, 2011
 */

From source file com.bluexml.xforms.controller.navigation.NavigationSessionListener.java

/**
 * The listener interface for receiving navigationSession events. The class that is interested in
 * processing a navigationSession event implements this interface, and the object created with that
 * class is registered with a component using the component's
 * <code>addNavigationSessionListener<code> method. When
 * the navigationSession event occurs, that object's appropriate

From source file org.scenarioo.rest.application.ScenariooWebApplication.java

/**
 * Scenarioo REST Services Web Application context that initializes data on startup of server.
 */
public class ScenariooWebApplication implements ServletContextListener {

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

From source file eionet.rod.scheduled.AbstractScheduledJob.java

/**
 * Abstract class for scheduled job.
 *
 * @author Kaido Laine
 */
public abstract class AbstractScheduledJob implements ServletContextListener, Job {

From source file org.sakaiproject.portal.charon.velocity.PortalRenderEngineContextListener.java

/**
 * Context Listener for the render engine.
 * 
 * @author ieb
 * @since Sakai 2.4
 * @version $Rev$

From source file org.wso2.carbon.identity.scim.provider.impl.ApplicationInitializer.java

/**
 * This performs one-time initialization tasks at the application startup.
 */
public class ApplicationInitializer implements ServletContextListener {

    private Log logger = LogFactory.getLog(ApplicationInitializer.class);