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.sakaiproject.context.util.LocatorServletContextListener.java

/** Registers the name of this servlet context with the registration service.
 * The context name will be taken from the servlet context parameter named
 * "sakai-context-name" if it is present, or else will be computed automatically
 * using a reasonably effective algorithm.
 * <p>To avoid destroying the context when the service is not present, this
 * implementation invokes all service methods reflectively.

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

public class DatatypeContextListener implements ServletContextListener {

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

    public static final String DATA_TYPES = "/WEB-INF/config/datatypes.properties";

From source file com.versatus.jwebshield.securitylock.SecurityCheckListener.java

/**
 * Application Lifecycle Listener implementation class SecurityCheckListener
 * 
 */
public final class SecurityCheckListener implements ServletContextListener, HttpSessionListener {
    /**

From source file org.apache.chemistry.opencmis.server.impl.CmisRepositoryContextListener.java

/**
 * CMIS context listener.
 */
public class CmisRepositoryContextListener implements ServletContextListener {
    public static final String SERVICES_FACTORY = "org.apache.chemistry.opencmis.servicesfactory";
    private static final Log log = LogFactory.getLog(CmisRepositoryContextListener.class.getName());

From source file org.apdplat.platform.spring.APDPlatContextLoaderListener.java

/**
 * Bootstrap listener to start up and shut down Spring's root {@link WebApplicationContext}.
 * Simply delegates to {@link ContextLoader} as well as to {@link ContextCleanupListener}.
 *
 * <p>This listener should be registered after
 * {@link org.springframework.web.util.Log4jConfigListener}

From source file org.wso2.carbon.device.mgt.iot.raspberrypi.service.impl.listener.RaspberryPIPermissionUpdateListener.java

public class RaspberryPIPermissionUpdateListener implements ServletContextListener {

    private static Log log = LogFactory.getLog(RaspberryPIPermissionUpdateListener.class);
    private static PrivilegedCarbonContext threadLocalCarbonContext;
    private static RealmService realmService;

From source file org.wso2.carbon.device.mgt.iot.androidsense.service.impl.listener.AndroidSensePermissionUpdateListener.java

public class AndroidSensePermissionUpdateListener implements ServletContextListener {

    private static Log log = LogFactory.getLog(AndroidSensePermissionUpdateListener.class);
    private static PrivilegedCarbonContext threadLocalCarbonContext;
    private static RealmService realmService;

From source file org.smartfrog.avalanche.server.AvalancheContextListener.java

/**
 * Context listener for Servlet container, this is executed when server starts in the beginning. 
 * Sets up connection with XMPP server and register for events. 
 */
public class AvalancheContextListener implements ServletContextListener {
    private static final Log log = LogFactory.getLog(AvalancheContextListener.class);

From source file org.topazproject.ambra.auth.web.AuthServletContextListener.java

/**
 * Initialize the DatabaseContext and UserService for cas.<p>
 *
 * Be sure to add to CAS' web.xml as a servlet context listner. Uses commons-config
 * for configuration.
 *

From source file it.scoppelletti.programmerpower.web.spring.ApplicationContextListener.java

/**
 * Gestione del ciclo di vita di un&rsquo;applicazione Web.
 * 
 * <P>La classe {@code ApplicationContextListener} unifica la gestione del
 * ciclo di vita dei componenti dell&rsquo;applicazione:</P>
 *