List of usage examples for javax.servlet ServletContextListener interface-usage
From source file edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup.java
public class ThemeInfoSetup implements ServletContextListener { private static final Log log = LogFactory.getLog(ThemeInfoSetup.class); // Set default theme based on themes present on the file system @Override public void contextInitialized(ServletContextEvent sce) {
From source file cn.im47.cloud.storage.ftp.FtpServerListener.java
public class FtpServerListener implements ServletContextListener { private final Logger logger = LoggerFactory.getLogger(FtpServerListener.class); public static final String FTPSERVER_CONTEXT_NAME = "org.apache.ftpserver";
From source file org.excalibur.service.deployment.server.context.ApplicationServletContextListener.java
public class ApplicationServletContextListener implements ServletContextListener { private static final Logger LOG = LoggerFactory.getLogger(ApplicationServletContextListener.class); @Override public void contextInitialized(ServletContextEvent sce) { new ContextInitializedChain().process(sce);
From source file nl.tjonahen.javaee7.cdi.springbridge.servletsupport.ApplicationContextFinder.java
/**
* ServletContextListner to pickup the web application Context from spring.
* Requires a ContextLoaderListner to be configured.
*
* @author Philippe Tjon - A - Hen, philippe@tjonahen.nl
*/
From source file de.ingrid.iplug.web.PlugdescriptionContextListener.java
public class PlugdescriptionContextListener implements ServletContextListener { private static Log LOG = LogFactory.getLog(PlugdescriptionContextListener.class); public void contextDestroyed(ServletContextEvent servletcontextevent) {
From source file com.apdplat.platform.spring.APDPlatContextLoaderListener.java
/**
* Bootstrap listener to start up and shut down Spring's root {@link WebApplicationContext}.
* Simply delegates to {@link ContextLoader} as well as to {@link ContextCleanupListener}.
*
* <p>This listener should be registered after
* {@link org.springframework.web.util.Log4jConfigListener}
From source file net.sourceforge.vulcan.web.VulcanContextListener.java
public final class VulcanContextListener implements ServletContextListener { WebApplicationContext wac; StateManager stateManager; public void contextInitialized(ServletContextEvent event) { final ServletContext context = event.getServletContext();
From source file be.fedict.eid.dss.webapp.StartupServletContextListener.java
/**
* Startup servlet component. This servlet context listener boots up the eID DSS
* system.
*
* @author Frank Cornelis
*/
From source file org.wso2.carbon.identity.oauth.endpoint.impl.ApplicationInitializer.java
/** * This performs one-time initialization tasks at the application startup. */ public class ApplicationInitializer implements ServletContextListener { private Log log = LogFactory.getLog(ApplicationInitializer.class);
From source file com.tacitknowledge.util.migration.jdbc.WebAppMigrationLauncher.java
/**
* Launches the migration process upon application context creation. This class
* is intentionally fail-fast, meaning that it throws a RuntimeException if any
* problems arise during migration and will prevent the web application from
* being fully deployed.
* <p/>