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.gisgraphy.webapp.listener.StartupListener.java

/**
 * <p>
 * StartupListener class used to initialize and database settings and populate
 * any application-wide drop-downs. <p/>
 * <p>
 * Keep in mind that this listener is executed outside of

From source file org.nuxeo.runtime.deployment.NuxeoStarter.java

/**
 * This is called at WAR startup and starts the Nuxeo OSGi runtime and registers the Nuxeo bundles with it.
 * <p>
 * This class must be configured as a {@code <listener>/<listener-class>} in {@code META-INF/web.xml}.
 * <p>
 * It uses servlet init parameters defined through {@code <context-param>/<param-name>/<param-value>} in web.xml.

From source file org.nuxeo.opensocial.servlet.GuiceContextListener.java

/**
 * Although this object says its a ServletContextListener, in fact it is not do
 * to order of initialization issues. This object uses Guice and we want to be
 * sure all the nuxeo initialization is finished prior to Guice being
 * initialized since the user might want to configure it.
 *

From source file com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.java

/**
 * Base class for {@link AppContext} loaders of web applications.
 */
public abstract class AbstractWebAppContextLoader extends AbstractAppContextLoader
        implements ServletContextListener {

From source file net.wastl.webmail.config.ExtConfigListener.java

/**
 * Purpose
 * <UL>
 * <LI>Set webapp attribute app.contextpath to the app's unique runtime Context
 * Path. This will be unique even for multiple deployments of the same
 * application distro.

From source file de.xwic.sandbox.server.ServletLifecycleListener.java

/**
 * @author Claudiu Mateias
 *
 */
public class ServletLifecycleListener implements ServletContextListener {
    private final Log log = LogFactory.getLog(ServletLifecycleListener.class);

From source file alpha.portal.webapp.listener.StartupListener.java

/**
 * <p>
 * StartupListener class used to initialize and database settings and populate
 * any application-wide drop-downs.
 * <p/>
 * <p>

From source file org.apache.wookie.server.ContextListener.java

/**
 * ContextListener - does some init work and makes certain things are available 
 * to resources under this context
 * 
 * @author Paul Sharples
 * @version $Id: ContextListener.java,v 1.2 2009-07-28 16:05:23 scottwilson Exp $ 

From source file com.sun.faces.systest.CoreTagsListener.java

/**
 * <p>Right now, just a minimal listener that sets the java.beans.Beans.DesignTime
 *    property to "true" to test the bypass of the TLV and allowance of not
 *    specifying non required attributes. </p> 
 * <p/>
 */

From source file alpha.portal.webapp.listener.UserCounterListener.java

/**
 * UserCounterListener class used to count the current number of active users
 * for the applications. Does this by counting how many user objects are stuffed
 * into the session. It also grabs these users and exposes them in the servlet
 * context.
 *