List of usage examples for javax.servlet ServletContextListener interface-usage
From source file nl.b3p.catalog.config.CatalogAppConfig.java
/** * * @author Matthijs Laan */ @XmlRootElement public class CatalogAppConfig implements ServletContextListener {
From source file com.wabacus.WabacusServlet.java
public class WabacusServlet extends HttpServlet implements ServletContextListener { private static final long serialVersionUID = 715456159702221404L; private static Log log = LogFactory.getLog(WabacusServlet.class); public void contextInitialized(ServletContextEvent event) {
From source file org.red5.server.war.MainServlet.java
* Entry point from which the server config file is loaded while running within
* a J2EE application container.
*
* This listener should be registered after Log4jConfigListener in web.xml, if
* the latter is used.
*
From source file edu.ucsf.vitro.opensocial.OpenSocialSmokeTests.java
/** * Do some quick checks to see whether the OpenSocial stuff is configured and * working. */ public class OpenSocialSmokeTests implements ServletContextListener { private static final String PROPERTY_SHINDIG_URL = "OpenSocial.shindigURL";
From source file com.liangc.hq.base.web.ConfiguratorListener.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.
*/
From source file edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionSetsLoader.java
/**
* Load the initial configuration of PermissionSets and Permissions.
*
* The UserAccounts model must be created before this runs.
*
* The PermissionRegistry must be created before this runs.
From source file ejportal.webapp.listener.StartupListener.java
/**
* <p>
* StartupListener class used to initialize and database settings and populate
* any application-wide drop-downs.
* <p/>
* <p>
From source file com.openmeap.web.servlet.Log4JConfiguratorListener.java
public class Log4JConfiguratorListener implements ServletContextListener { @Override public void contextDestroyed(ServletContextEvent arg0) { // TODO Auto-generated method stub
From source file ejportal.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 org.dmb.trueprice.utils.internal.InitContextListener.java
/** * * @author Guitch */ public class InitContextListener implements ServletContextListener {