List of usage examples for javax.servlet ServletContextListener interface-usage
From source file com.netspective.sparx.util.ApplicationEventsListener.java
public class ApplicationEventsListener implements ServletContextListener { private static final Log log = LogFactory.getLog(ApplicationEventsListener.class); public void contextInitialized(ServletContextEvent event) { log.trace("Init context for " + event.getServletContext().getServletContextName()); }
From source file org.jumpmind.metl.ui.init.AppInitializer.java
public class AppInitializer implements WebApplicationInitializer, ServletContextListener { protected static final String SYS_CONFIG_DIR = AppInitializer.class.getPackage().getName() + ".config.dir"; public static ThreadLocal<AnnotationConfigWebApplicationContext> applicationContextRef = new ThreadLocal<>();
From source file com.ericsson.eif.hansoft.HansoftManager.java
public class HansoftManager implements ServletContextListener, HttpSessionListener { private static final Logger logger = Logger.getLogger(HansoftManager.class.getName()); public final static String REALM = "Hansoft";
From source file org.icefaces.application.showcase.view.bean.examples.component.progressBar.OutputProgressController.java
/**
* <p>The OutputProgressController is responsible for handling all user actions
* for the OutputProgress demo. This includes the the starting a long
* running process to show how the progress bar can be used to monitor a
* process on the server. </p>
* <p>This class is especially interesting shows a usage scenario for the
From source file org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.java
public class ArtifactoryContextConfigListener implements ServletContextListener { private static final String LOCK_FILENAME = ".lock"; private ArtifactoryLockFile artifactoryLockFile;
From source file org.everit.authentication.cas.CasAuthentication.java
/**
* The implementation that supports CAS authentication.
* <p>
* <b>Implemented interfaces</b>
* </p>
* <ul>
From source file org.j2free.config.ConfigurationListener.java
/**
* If a <tt>Configuration</tt> is found and successfully loaded, then
* the following items will be configured accordingly:
* - <tt>RunMode</tt>
* - <tt>InvokerFilter</tt>
* - <tt>StaticJspServlet</tt>
From source file org.openspaces.pu.container.jee.context.BootstrapWebApplicationContextListener.java
/**
* Bootstap servlet context listener allowing to get the {@link org.openspaces.core.cluster.ClusterInfo},
* {@link org.openspaces.core.properties.BeanLevelProperties}, and handle an optional pu.xml file
* within META-INF/spring by loading it. <p/> <p>The different web containers support in OpenSpaces
* will use {@link #prepareForBoot(java.io.File, org.openspaces.core.cluster.ClusterInfo,
* org.openspaces.core.properties.BeanLevelProperties)} before the web application is started. It
From source file com.jsmartframework.web.manager.ContextControl.java
@WebListener public final class ContextControl implements ServletContextListener { private static final List<String> METHODS = Arrays.asList("GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE");
From source file com.manydesigns.portofino.servlets.PortofinoListener.java
public class PortofinoListener implements ServletContextListener, HttpSessionListener, ServletContextAttributeListener { public static final String copyright = "Copyright (c) 2005-2013, ManyDesigns srl"; // ************************************************************************** // Constants