List of usage examples for javax.servlet ServletContextListener interface-usage
From source file com.bank.manager.configs.ContextCleanupListener.java
/**
* Web application listener that cleans up remaining disposable attributes
* in the ServletContext, i.e. attributes which implement {@link DisposableBean}
* and haven't been removed before. This is typically used for destroying objects
* in "application" scope, for which the lifecycle implies destruction at the
* very end of the web application's shutdown phase.
From source file alpine.persistence.PersistenceInitializer.java
/**
* Initializes the embedded H2 database. This can be used as a configuration
* store or as the main database for the application.
*
* Refer to {@link Config.AlpineKey#DATABASE_MODE} and application.properties for
* additional details.
From source file org.wso2.carbon.identity.application.authentication.endpoint.listener.AuthenticationEndpointContextListener.java
/** * Listener for executing post deployment tasks of the authentication endpoint */ public class AuthenticationEndpointContextListener implements ServletContextListener { private static final Log log = LogFactory.getLog(AuthenticationEndpointContextListener.class);
From source file com.dhcc.framework.web.context.ContextCleanupListener.java
/**
* Web application listener that cleans up remaining disposable attributes
* in the ServletContext, i.e. attributes which implement {@link DisposableBean}
* and haven't been removed before. This is typically used for destroying objects
* in "application" scope, for which the lifecycle implies destruction at the
* very end of the web application's shutdown phase.
From source file com.athena.sqs.MessageDispatchListener.java
/**
*
<pre>
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
From source file net.duckling.falcon.api.mstatic.VersionStartupListener.java
public class VersionStartupListener implements ServletContextListener { private static Logger log = Logger.getLogger(VersionStartupListener.class); @Override public void contextInitialized(ServletContextEvent sce) { ServletContext context = sce.getServletContext();
From source file com.bstek.dorado.web.servlet.DoradoPreloadListener.java
/** * @author Benny Bao (mailto:benny.bao@bstek.com) * @since 2011-1-21 */ public class DoradoPreloadListener implements ServletContextListener, HttpSessionListener { private static final Log logger = LogFactory.getLog(DoradoPreloadListener.class);
From source file org.springframework.web.context.ContextCleanupListener.java
/**
* Web application listener that cleans up remaining disposable attributes
* in the ServletContext, i.e. attributes which implement {@link DisposableBean}
* and haven't been removed before. This is typically used for destroying objects
* in "application" scope, for which the lifecycle implies destruction at the
* very end of the web application's shutdown phase.
From source file org.nuxeo.ecm.web.embedded.NuxeoEmbeddedLoader.java
/** * @author matic */ public class NuxeoEmbeddedLoader implements ServletContextListener { protected static NuxeoEmbeddedLoader instance;
From source file org.osaf.cosmo.ui.config.ConfigurationListener.java
/** * A {@link javax.servlet.ServletContextListener} that uses a * {@link ServletContextConfigurer} to load the Cosmo application * configuration when the servlet context is started. */ public class ConfigurationListener implements ServletContextListener {