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 org.apache.ftpserver.example.springwar.FtpServerListener.java

public class FtpServerListener implements ServletContextListener {

    public static final String FTPSERVER_CONTEXT_NAME = "org.apache.ftpserver";

    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("Stopping FtpServer");

From source file org.owasp.webgoat.application.WebGoatServletListener.java

/**
 * Web application lifecycle listener.
 *
 * @author rlawson
 * @version $Id: $Id
 */

From source file org.apache.jetspeed.security.mfa.impl.MFAServletListener.java

/**
 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
 * @version $Id: $
 */
public class MFAServletListener implements ServletContextListener {

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

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

From source file nl.b3p.viewer.solr.SolrInitializer.java

/**
 * This class will initialize the solr server: the setup of the index and the
 * initialization of the SolrServer object. This in order to limit the number of
 * connections to the index.
 *
 * @author Meine Toonen

From source file org.cruxframework.crux.core.server.InitializerListener.java

/**
 * When the application starts, register clientHandlers
 * and widgets into this module. 
 * 
 * @author Thiago
 *

From source file org.apache.openejb.arquillian.tests.listenerenventry.PojoServletContextListener.java

public class PojoServletContextListener implements ServletContextListener {

    @Inject
    private Car car;

    @EJB

From source file chronos.web.listener.ChronosServletListener.java

/**
 * @author Alistair A. Israel
 */
public final class ChronosServletListener implements ServletContextListener {

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

From source file org.apache.openejb.arquillian.tests.listenerlocalinject.PojoServletContextListener.java

public class PojoServletContextListener implements ServletContextListener {

    @Inject
    private Car car;

    @EJB

From source file it.pronetics.madstore.crawler.impl.grid.support.MadStoreGridListener.java

public class MadStoreGridListener implements ServletContextListener {

    private volatile MadStoreGrid madstoreGrid;

    public void contextInitialized(ServletContextEvent event) {
        if (MadStoreConfigurationManager.getInstance().getMadStoreConfiguration().isGridModeEnabled()) {