List of usage examples for javax.servlet ServletContextListener interface-usage
From source file be.fedict.eid.dss.sp.StartupServletContextListener.java
public class StartupServletContextListener implements ServletContextListener { private static final Log LOG = LogFactory.getLog(StartupServletContextListener.class); private static final String SIGNATURE_REQUEST_BEAN_JNDI = "be/fedict/eid/dss/sp/bean/SignatureRequestServiceBean";
From source file org.apereo.portal.jmx.JavaManagementServerListener.java
/**
* A Listener that wraps a {@link JavaManagementServerBean}. Please look at its documentation
* for the appropriate system properties to set.
* <br>
* <br>
* The ports are configured via <context-param> elements in the web.xml<br>
From source file eionet.meta.ContainerContextClosedHandler.java
/** * Class to close database connections to prevent memory leaks. * * @author enver */ public class ContainerContextClosedHandler implements ServletContextListener {
From source file nl.b3p.viewer.admin.monitoring.GeoServiceMonitoringListener.java
/** * * @author Matthijs Laan */ public class GeoServiceMonitoringListener implements ServletContextListener { private static final String PARAM_INTERVAL = "monitoring.schedule.minutes";
From source file edu.cornell.mannlib.vitro.webapp.config.RevisionInfoSetup.java
/**
* <pre>
* Read the revision information, and store it in the servlet context.
*
* - The revision information is in a file in the classpath.
* - The name of the file is in RESOURCE_PATH, below.
From source file com.jaspersoft.jasperserver.war.util.SecurityContextHolderStrategyInitializer.java
/** * @author Lucian Chirita (lucianc@users.sourceforge.net) * @version $Id: SecurityContextHolderStrategyInitializer.java 47331 2014-07-18 09:13:06Z kklein $ */ public class SecurityContextHolderStrategyInitializer implements ServletContextListener {
From source file nl.b3p.viewer.components.ComponentRegistryInitializer.java
/**
* Context listener which will create the static ComponentRegistry instance on
* startup and will load components from directories or from another context
* (possibly on-demand).
*
* @author matthijsln
From source file com.appeligo.config.ConfigurationInitializer.java
/** * Provides basic initialization of the configuration subsystem for this application. * */ public class ConfigurationInitializer implements ServletContextListener {
From source file edu.cornell.mannlib.vitro.webapp.servlet.setup.RemoveObsoletePermissions.java
/** * A handful of Permissions were removed between release 1.6 and 1.7. Remove * them from the User Accounts model. */ public class RemoveObsoletePermissions implements ServletContextListener { private static final Log log = LogFactory.getLog(RemoveObsoletePermissions.class);
From source file com.haulmont.cuba.web.sys.singleapp.SingleAppWebServletListener.java
/**
* This class and its twin com.haulmont.cuba.core.sys.singleapp.SingleAppCoreServletListener separate "web" and "core" classes
* to different classloaders when we pack application to single WAR.
* <p>
* We create 2 URLClassLoaders (1 for core and 1 for web), with predefined (during single WAR build) list of jars (web.dependencies).
* So the classloaders load classes from the jars and only if class is not found they delegate loading to base WebAppClassLoader (their parent).