List of usage examples for javax.servlet ServletContextListener interface-usage
From source file net.community.chest.gitcloud.facade.AbstractEnvironmentInitializer.java
/** * @author Lyor Goldstein * @since Sep 12, 2013 8:09:45 AM */ public abstract class AbstractEnvironmentInitializer implements ServletContextListener { protected volatile Log logger;
From source file edu.cornell.mannlib.vivo.orcid.OrcidContextSetup.java
/**
* Setup for the ORCID interface.
*
* Note that the property for CLIENT_SECRET is "orcid.clientPassword". Since it
* ends in "password", it will not be displayed on the ShowConfiguration page.
*
From source file com.netsteadfast.greenstep.sys.WebMessagePublishListener.java
public class WebMessagePublishListener implements ServletContextListener { private final static long SLEEP_TIME = 1000 * 5; private ISysMsgNoticeConfigService<SysMsgNoticeConfigVO, TbSysMsgNoticeConfig, String> sysMsgNoticeConfigService; private List<AsyncContext> asyncContexts = new ArrayList<AsyncContext>(); private Thread webMessagePublishThread = null; private WebMessagePublishRunnable webMessagePublishRunnable = null;
From source file org.jasig.portlet.newsreader.spring.PortletApplicationContextLocator.java
/**
* Provides standard access to the portal's {@link ApplicationContext}. If running in a web application a
* {@link WebApplicationContext} is available.
*
* {@link #getApplicationContext()} should be used by most uPortal code that needs access to the portal's
* {@link ApplicationContext}. It ensures that a single {@link ApplicationContext} is used portal-wide both
From source file org.sindice.core.analytics.commons.webapps.SparqledContextListener.java
/** * This {@link ServletContextListener} loads {@value #CONFIG_XML} and {@value #LOGGING_XML} configuration files, * located in the {@value #SPARQLED_HOME} folder. */ public class SparqledContextListener implements ServletContextListener {
From source file com.glaf.core.context.StartupListener.java
public class StartupListener extends ContextLoaderListener implements ServletContextListener { private static final Log logger = LogFactory.getLog(StartupListener.class); protected static Configuration conf = BaseConfiguration.create(); private static class SchedulerRunner extends Thread {
From source file org.tonguetied.web.servlet.ServletContextInitializer.java
/**
* Listener that initializes application wide settings when the HTTP server is
* first started and tidies up any resources when the servletContext is
* destroyed.
*
* @author bsion
From source file org.exoplatform.application.gadget.GadgetRegister.java
/** * This class represents an registry for gadget application, it hear from context and then deployed * gadget */ public class GadgetRegister implements ServletContextListener { protected static Log log = ExoLogger.getLogger("gadget:GadgetRegister");
From source file org.pentaho.platform.web.http.context.SolutionContextListener.java
public class SolutionContextListener implements ServletContextListener { protected static String solutionPath; protected static String contextPath;
From source file org.hyperic.hq.ui.Configurator.java
/**
* A class that loads the application properties file (found at
* <code>/WEB-INF/classes/hq.properties</code>) and configures the
* web application. All properties in the file are exposed as servlet
* context attributes.
*