List of usage examples for javax.servlet ServletContextListener interface-usage
From source file org.etudes.tool.melete.AddResourcesPage.java
public class AddResourcesPage implements ServletContextListener { private String fileType; private String numberItems; private int maxUploadSize; private int removeLinkIndex;
From source file org.plista.kornakapi.web.servlets.BigBangServletContextListener.java
/** servlet context listener to initialize/shut down the application */ public class BigBangServletContextListener implements ServletContextListener { private static final String CONFIG_PROPERTY = "kornakapi.conf"; private static final Logger log = LoggerFactory.getLogger(BigBangServletContextListener.class);
From source file edu.cornell.mannlib.vitro.webapp.search.solr.SolrSetup.java
public class SolrSetup implements javax.servlet.ServletContextListener { public static final String SOLR_SERVER = "vitro.local.solr.server"; public static final String PROHIBITED_FROM_SEARCH = "edu.cornell.mannlib.vitro.webapp.search.beans.ProhibitedFromSearch"; /** Exclude from the search index Individuals with types from these namespaces */
From source file com.impetus.ankush.common.controller.listener.StartupListener.java
/**
* <p>
* StartupListener class used to initialize and database settings and populate
* any application-wide drop-downs.
* <p/>
* <p>
From source file be.fedict.eid.idp.webapp.IdentityProviderServletContextListener.java
public class IdentityProviderServletContextListener implements ServletContextListener { private static final Log LOG = LogFactory.getLog(IdentityProviderServletContextListener.class); private static final String JAXWS_WSDL_DD_DIR = "WEB-INF/wsdl";
From source file org.apache.roller.weblogger.ui.core.RollerContext.java
/** * Initialize the Roller web application/context. */ public class RollerContext extends ContextLoaderListener implements ServletContextListener { private static Log log = LogFactory.getLog(RollerContext.class);
From source file org.openmrs.web.Listener.java
/**
* Our Listener class performs the basic starting functions for our webapp. Basic needs for starting
* the API: 1) Get the runtime properties 2) Start Spring 3) Start the OpenMRS APi (via
* Context.startup) Basic startup needs specific to the web layer: 1) Do the web startup of the
* modules 2) Copy the custom look/images/messages over into the web layer
*/
From source file com.boylesoftware.web.AbstractWebApplication.java
/**
* Base class for the custom application object. Custom web-application must
* provide a concrete subclass of this base class and register it as a servlet
* context listener.
*
* @author Lev Himmelfarb
From source file org.everit.osgi.authentication.cas.internal.CasAuthenticationComponent.java
/**
* A component that supports CAS authentication. The following cases are handled by this component:
* <ul>
* <li><b>CAS service ticket validation</b>: If the request contains a CAS service ticket, it will be validated on the
* CAS server by invoking its service ticket validation URL. If the ticket is valid and the returned principal
* (username) can be mapped to a Resource ID, then the Resource ID will be assigned to the session.</li>
From source file com.sampleapp.db.DAOInitContextListener.java
public class DAOInitContextListener implements ServletContextListener { @Override public void contextDestroyed(ServletContextEvent contextEvent) { }