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.serotonin.m2m2.web.M2M2ContextListener.java

public class M2M2ContextListener implements ServletContextListener {
    private final Log log = LogFactory.getLog(M2M2ContextListener.class);

    @Override
    public void contextInitialized(ServletContextEvent evt) {
        log.info("Mango Automation context starting");

From source file grails.plugins.jaxrs.web.JaxrsListener.java

/**
 * Initializes a Jersey servlet for request processing.
 *
 * @author Martin Krasser
 */
@WebListener

From source file org.wso2.carbon.apimgt.rest.api.store.listners.StoreRestAPILifeCycleListener.java

@SuppressWarnings("unused")
public class StoreRestAPILifeCycleListener implements ServletContextListener {

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

    /**

From source file darks.grid.web.GridContextListener.java

public class GridContextListener implements ServletContextListener {

    private static final String DEFAULT_CONFIG_PATH = "/grid-config.xml";

    @Override
    public void contextDestroyed(ServletContextEvent arg0) {

From source file org.springframework.batch.admin.sample.web.EnvironmentContextListener.java

/**
 * @author Dave Syer
 * 
 */
public class EnvironmentContextListener implements ServletContextListener {

From source file org.wso2.carbon.apimgt.rest.api.publisher.listners.PublisherRestAPILifeCycleListener.java

@SuppressWarnings("unused")
/**
 * This class is here to add any task that need to perform during app startup
 * this class contextInitialized method should be used to register resources
 * dynamically at server start up,
 */

From source file com.amazonaws.services.kinesis.scaling.auto.app.KinesisAutoscalingBeanstalkApp.java

public class KinesisAutoscalingBeanstalkApp implements ServletContextListener {
    private Thread streamMonitorController;

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

    @Override

From source file nl.b3p.web.geotools.GeotoolsLoggingInit.java

/**
 *
 * @author Roy Braam
 */
public class GeotoolsLoggingInit implements ServletContextListener {
    private static final Log log = LogFactory.getLog(GeotoolsLoggingInit.class);

From source file org.mule.config.builders.DeployableMuleXmlContextListener.java

/**
 * This ServletContextListener should be used instead of
 * {@link MuleXmlBuilderContextListener} when the webapp is contributing a
 * configuration to an existing Mule instance configured and started at the server
 * level rather than embedding a Mule instance in the webapp itself.
 */

From source file org.grails.jaxrs.web.JaxrsListener.java

/**
 * Initializes a Jersey servlet for request processing.
 *
 * @author Martin Krasser
 */
public class JaxrsListener implements ServletContextListener {