List of usage examples for javax.servlet ServletContextListener interface-usage
From source file edu.du.penrose.systems.fedoraProxy.util.FedoraProxyServletContextListener.java
public class FedoraProxyServletContextListener implements ServletContextListener, FedoraProxyServletContextListener_INF { private static ServletContext myServletContext = null; private static String webContextTestPath = null;
From source file org.jasig.portlet.spring.PortletApplicationContextLocator.java
/**
* Provides standard access to the portal's {@link org.springframework.context.ApplicationContext}. If running in a web application a
* {@link org.springframework.web.context.WebApplicationContext} is available.
*
* {@link #getApplicationContext(String)} should be used by most uPortal code that needs access to the portal's
* {@link org.springframework.context.ApplicationContext}. It ensures that a single {@link org.springframework.context.ApplicationContext} is used portal-wide both
From source file org.jasig.portal.spring.PortalApplicationContextLocator.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 com.telefonica.euro_iaas.sdc.bootstrap.InitDbBootstrap.java
/**
* Populates data base with synthetic data to emulate the preconditions of SO management, Image deployable management
* and customer management.
*
* @author Sergio Arroyo
* @version $Id: $
From source file org.jasig.portlet.calendar.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.jasig.portlet.announcements.spring.PortletApplicationContextLocator.java
/**
* Provides standard access to the portal's {@link org.springframework.context.ApplicationContext}. If running in a web application a
* {@link org.springframework.web.context.WebApplicationContext} is available.
*
* {@link #getApplicationContext()} should be used by most uPortal code that needs access to the portal's
* {@link org.springframework.context.ApplicationContext}. It ensures that a single {@link org.springframework.context.ApplicationContext} is used portal-wide both
From source file eu.openanalytics.rsb.config.RServiEnvironmentServletContextListener.java
/** * Handles the RServi runtime environment. * * @author "OpenAnalytics <rsb.development@openanalytics.eu>" */ public class RServiEnvironmentServletContextListener implements ServletContextListener, IAppEnvironment {
From source file org.musicrecital.webapp.listener.UserCounterListener.java
/**
* UserCounterListener class used to count the current number
* of active users for the applications. Does this by counting
* how many user objects are stuffed into the session. It also grabs
* these users and exposes them in the servlet context.
*
From source file edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup.java
public class SimpleReasonerSetup implements ServletContextListener { private static final Log log = LogFactory.getLog(SimpleReasonerSetup.class.getName()); public static final String FILE_OF_PLUGINS = "/WEB-INF/resources/reasoner_plugins.txt";
From source file org.openhie.openempi.webapp.listener.StartupListener.java
/**
* <p>StartupListener class used to initialize and database settings
* and populate any application-wide drop-downs.
* <p/>
* <p>Keep in mind that this listener is executed outside of OpenSessionInViewFilter,
* so if you're using Hibernate you'll have to explicitly initialize all loaded data at the