List of usage examples for javax.servlet ServletContextListener interface-usage
From source file org.jresearch.gossip.listeners.ContextListener.java
/** * @author Dmitry Belov * */ public class ContextListener implements ServletContextListener {
From source file com.telefonica.euro_iaas.paasmanager.bootstrap.PropertiesMBeanRegisterBootstrap.java
/** * Load System Properties file and stores it in BD (not modify already stored properties). * * @author Jesus M. Movilla */ public class PropertiesMBeanRegisterBootstrap implements ServletContextListener {
From source file com.oneops.metrics.admin.MetricsContextListener.java
/**
* A {@link javax.servlet.ServletContextListener} to programmatically inject
* OneOps metrics and health registries to use inside the servlets. The contract
* is to have an attribute set for each registries in the servlet context.
*
* @author Suresh G
From source file org.rhq.enterprise.gui.startup.Configurator.java
/**
* This is a servlet context listener defined in web.xml that loads several files and puts data in the servlet context:
*
* <ul>
* <li>the <code>/WEB-INF/rhq-server-internals.properties</code> properties which configures things like how to
* connect to EJBs</li>
From source file org.openmrs.contrib.metadatarepository.webapp.listener.StartupListener.java
/**
* <p>StartupListener class used to initialize and database settings
* and populate any application-wide drop-downs.
* <p/>
* <p>Keep in mind that this listener is executed outside of OpenSessionInViewFilter,
* so if you're using Hibernate you'll have to explicitly initialize all loaded data at the
From source file org.jwatch.listener.settings.SettingsLoaderListener.java
/**
* Config in web.xml. loads settings file on boot.
*
* @author <a href="mailto:royrusso@gmail.com">Roy Russo</a>
* Date: Apr 7, 2011 1:34:12 PM
*/
From source file org.hdiv.listener.InitWebSphereListener.java
/**
* HDIV listener for WebSphere environment.
*
* @version 1.1.1
* @author Roberto Velasco
* @author Gorka Vicente
From source file com.edgenius.wiki.webapp.listener.LogListener.java
/**
* This class try to set "geniuswiki.data.root". This is not perfect yet!
* There are possible issues:
* - It try to use catalina.base - as I still assume Tomcat is major server at the moment.
* - It try to use data root - if user does not install, there is default data root point to /var/geniuswiki - it is unexpected
* - It may create geniuswiki.log.tmp directory if no any success anymore.
From source file io.seldon.servlet.ResourceManagerListener.java
public class ResourceManagerListener implements ServletContextListener { private static Logger logger = Logger.getLogger(ResourceManagerListener.class.getName()); private ZkClientConfigHandler zkClientConfigHandler;
From source file com.sun.socialsite.web.listeners.ContextListener.java
/** * Responds to app init/destroy events and holds SocialSite instance. */ public class ContextListener implements ServletContextListener { private static Log log = LogFactory.getLog(ContextListener.class);