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.meltmedia.cadmium.servlets.ClassLoaderLeakPreventor.java

/**
 * Source: https://github.com/mjiderhamn/classloader-leak-prevention
 * Tag:    classloader-leak-prevention-1.8.0
 * This class helps prevent classloader leaks.
 * <h1>Basic setup</h1>
 * <p>Activate protection by adding this class as a context listener

From source file com.concursive.connect.web.listeners.ContextListener.java

/**
 * Responsible for initialization and cleanup when the web-app is loaded/reloaded
 *
 * @author matt rajkowski
 * @version $Id$
 * @created December 22, 2002

From source file org.apache.struts.faces.taglib.LifecycleListener.java

/**
 * <p><code>LifecycleListener</code> to initialize the required lifecycle
 * objects, and perform other one-time setup tasks, for the
 * <em>Struts-Faces Integration Library</em>.</p>
 *
 * @author Craig R. McClanahan

From source file se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor.java

/**
 * This class helps prevent classloader leaks.
 * <h1>Basic setup</h1>
 * <p>Activate protection by adding this class as a context listener
 * in your <code>web.xml</code>, like this:</p>
 * <pre>

From source file com.icesoft.faces.util.event.servlet.ContextEventRepeater.java

/**
 *
 */
public class ContextEventRepeater implements HttpSessionListener, ServletContextListener {
    private static final Log LOG = LogFactory.getLog(ContextEventRepeater.class);

From source file com.rapid.server.RapidServletContextListener.java

public class RapidServletContextListener implements ServletContextListener {

    // private static finals
    private static final int MONITOR_CHECK_INTERVAL = 1800;
    private static final int MONITOR_MAX_AGE = 1800;

From source file com.sun.faces.config.ConfigureListener.java

/**
 * <p>Parse all relevant JavaServer Faces configuration resources, and
 * configure the Reference Implementation runtime environment.</p>
 * <p/>
 */
public class ConfigureListener implements ServletContextListener {

From source file org.mifos.framework.ApplicationInitializer.java

/**
 * This class should prepare all the sub-systems that are required by the app. Cleanup should also happen here when the
 * application is shutdown.
 */
public class ApplicationInitializer implements ServletContextListener, ServletRequestListener, HttpSessionListener {

From source file org.fenixedu.ulisboa.specifications.servlet.FenixeduUlisboaSpecificationsInitializer.java

@WebListener
public class FenixeduUlisboaSpecificationsInitializer implements ServletContextListener {

    private static final Logger logger = LoggerFactory.getLogger(FenixeduUlisboaSpecificationsInitializer.class);

    public static final String BUNDLE = "resources/FenixeduUlisboaSpecificationsResources";

From source file edu.stanford.epad.epadws.listener.StartupListener.java

/**
 * <p>StartupListener class used to initialize stuff at Startup (including Spring Context).
 */
public class StartupListener extends ContextLoaderListener implements ServletContextListener {

    private static final Log log = LogFactory.getLog(StartupListener.class);