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 DatabaseListener.java

/**
 * <p><code>ServletContextListener</code> that initializes and finalizes the
 * persistent storage of User and Subscription information for the Struts
 * Demonstration Application, using an in-memory database backed by an XML
 * file.</p>
 * <p/>

From source file com.amazonaws.services.kinesis.aggregators.app.AggregatorsBeanstalkApp.java

public class AggregatorsBeanstalkApp implements ServletContextListener {
    private static final Log LOG = LogFactory.getLog(AggregatorsBeanstalkApp.class);

    protected static final String AGGREGATOR_GROUP_PARAM = "aggregator-group";

    private AggregatorConsumer consumer;

From source file com.cuubez.visualizer.servlet.VzBootstrapContextListener.java

public class VzBootstrapContextListener implements ServletContextListener {

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

    public void contextDestroyed(ServletContextEvent arg0) {

From source file de.ingrid.iplug.web.BusClientContextListener.java

public class BusClientContextListener implements ServletContextListener {

    private static Log LOG = LogFactory.getLog(BusClientContextListener.class);

    public void contextDestroyed(ServletContextEvent servletcontextevent) {

From source file com.krawler.common.listeners.LocaleResolverBuilder.java

/**
 * Web application lifecycle listener.
 * @author krawler-user
 */
public class LocaleResolverBuilder implements ServletContextListener {

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

public class RunSparqlConstructs implements ServletContextListener {

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

    private static final String DEFAULT_DEFAULT_NAMESPACE = "http://vivo.library.cornell.edu/ns/0.1#individual";
    private static final String LOCAL_NAME_PREPEND = "individual";

From source file mailreader2.ApplicationListener.java

/**
 * <p><code>ServletContextListener</code> that initializes and finalizes the
 * persistent storage of User and Support information for the Struts
 * Demonstration Application, using an in-memory database backed by an XML
 * file.</p>
 * <p/>

From source file org.sonar.server.platform.PlatformServletContextListener.java

public final class PlatformServletContextListener implements ServletContextListener {

    private static final String CONFIG_LOG_CONSOLE = "sonar.log.console";

    private static final String LOG_COMMON_PREFIX = "%d{yyyy.MM.dd HH:mm:ss} %-5level ";
    private static final String LOG_COMMON_SUFFIX = "%msg%n";

From source file org.sakaiproject.login.impl.velocity.LoginRenderEngineContextListener.java

/**
 * Knock off on {@link org.sakaiproject.portal.charon.velocity.PortalRenderEngineContextListener}
 * 
 * @author jrenfro
 */
public class LoginRenderEngineContextListener implements ServletContextListener {

From source file org.os890.ds.addon.spring.impl.bidirectional.WebappAwareSpringContainerManager.java

@Exclude
public class WebappAwareSpringContainerManager implements SpringContainerManager, ServletContextListener {
    private ContextLoader springContextLoader = new ContextLoader();
    private ConfigurableApplicationContext configurableApplicationContext;
    private MockServletContext servletContext = new MockServletContext(); //needed because spring gets bootstrapped during the cdi-bootstrapping